[1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m [1m[35m (2.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m Migrating to CreateUsers (20111203203123) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "deleted" boolean DEFAULT 'f' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(128) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "remember_token" varchar(255), "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m [1m[35m (0.0ms)[0m PRAGMA index_list("users") [1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m [1m[35m (0.0ms)[0m PRAGMA index_list("users") [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111203203123')[0m [1m[35m (1.5ms)[0m commit transaction Migrating to CreateAuthentications (20111203203307) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "authentications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "provider" varchar(255), "uid" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111203203307')[0m [1m[35m (2.3ms)[0m commit transaction [1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m [1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mPRAGMA index_list("authentications")[0m [1m[35m (0.0ms)[0m PRAGMA index_list("users") [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m [1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (7.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 864673665, 201799169)[0m [1m[35mFixture Delete (11.7ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:39:30', '2012-01-12 17:39:30', 725306934)[0m [1m[35m (199.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (14.0ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 864673665, 201799169)[0m [1m[35mFixture Delete (13.7ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:41:20', '2012-01-12 17:41:20', 725306934)[0m [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (14.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 864673665, 201799169)[0m [1m[35mFixture Delete (25.3ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:42:38', '2012-01-12 17:42:38', 725306934)[0m [1m[35m (96.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:43:12', '2012-01-12 17:43:12', 725306934)[0m [1m[35m (53.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:43:12 UTC", "updated_at"=>"2012-01-12 17:43:12 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} Completed 500 Internal Server Error in 49ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} Completed 500 Internal Server Error in 14ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML Completed 500 Internal Server Error in 15ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:43:51', '2012-01-12 17:43:51', 725306934)[0m [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:43:51 UTC", "updated_at"=>"2012-01-12 17:43:51 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} Completed 500 Internal Server Error in 46ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} Completed 500 Internal Server Error in 14ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML Completed 500 Internal Server Error in 12ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:44:56', '2012-01-12 17:44:56', 725306934)[0m [1m[35m (11.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:44:56 UTC", "updated_at"=>"2012-01-12 17:44:56 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} Completed 500 Internal Server Error in 42ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} Completed 500 Internal Server Error in 14ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML Completed 500 Internal Server Error in 13ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (32.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:47:39', '2012-01-12 17:47:39', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:47:39', '2012-01-12 17:47:39', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:47:39', '2012-01-12 17:47:39', 864673665, 201799169)[0m [1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:47:40', '2012-01-12 17:47:40', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:47:40', '2012-01-12 17:47:40', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:47:40', '2012-01-12 17:47:40', 725306934)[0m [1m[35m (1.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:47:39 UTC", "updated_at"=>"2012-01-12 17:47:39 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 17:47:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 17:47:40 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 65ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (26.4ms) Completed 500 Internal Server Error in 363ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (12.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:52:49', '2012-01-12 17:52:49', 725306934)[0m [1m[35m (13.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:52:49 UTC", "updated_at"=>"2012-01-12 17:52:49 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 17:52:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 17:52:49 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 68ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (350.0ms) Completed 500 Internal Server Error in 557ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:53:57', '2012-01-12 17:53:57', 725306934)[0m [1m[35m (12.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:53:57 UTC", "updated_at"=>"2012-01-12 17:53:57 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 17:53:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 17:53:58 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 67ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 378ms (Views: 376.6ms | ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:54:55', '2012-01-12 17:54:55', 725306934)[0m [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:54:55 UTC", "updated_at"=>"2012-01-12 17:54:55 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 17:54:55 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 17:54:55 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 169ms (Views: 166.6ms | ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (34.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 17:56:47', '2012-01-12 17:56:47', 725306934)[0m [1m[35m (19.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 17:56:47 UTC", "updated_at"=>"2012-01-12 17:56:47 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 17:56:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 17:56:47 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 45ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 179ms (Views: 177.3ms | ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (11.9ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:05:21', '2012-01-12 18:05:21', 725306934)[0m [1m[35m (12.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:05:21 UTC", "updated_at"=>"2012-01-12 18:05:21 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1[0m OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 Logged in user found, creating associated authentication. [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:05:21 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:05:21 UTC +00:00], ["user_id", 201799169]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 144ms (Views: 143.1ms | ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (16.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (142.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:29', '2012-01-12 18:13:29', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (4.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (3.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169)[0m SQLite3::SQLException: table users has no column named status: INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:13:59', '2012-01-12 18:13:59', 201799169) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m [1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m Migrating to CreateUsers (20111203203123) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "status" varchar(255) DEFAULT 'pending' NOT NULL, "deleted" boolean DEFAULT 'f' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(128) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "remember_token" varchar(255), "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m [1m[35m (0.0ms)[0m PRAGMA index_list("users") [1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m [1m[35m (0.0ms)[0m PRAGMA index_list("users") [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111203203123')[0m [1m[35m (1.9ms)[0m commit transaction Migrating to CreateAuthentications (20111203203307) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "authentications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "provider" varchar(255), "uid" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111203203307')[0m [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m [1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mPRAGMA index_list("authentications")[0m [1m[35m (0.1ms)[0m PRAGMA index_list("users") [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m [1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (2.0ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (30.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 864673665, 201799169)[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:16:37', '2012-01-12 18:16:37', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:16:37 UTC", "updated_at"=>"2012-01-12 18:16:37 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:16:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:16:37 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 63ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (23.4ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 157ms (Views: 132.4ms | ActiveRecord: 23.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:16:38 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:16:38 -0500 [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:16:38 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:16:38 -0500 [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:17:48', '2012-01-12 18:17:48', 349534908) [1m[36m (9.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:17:48 UTC", "updated_at"=>"2012-01-12 18:17:48 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:17:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:17:48 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (24.7ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 68ms (Views: 41.7ms | ActiveRecord: 24.9ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:17:48 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:17:48 -0500 [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:17:48 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:17:48 -0500 [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:19:01', '2012-01-12 18:19:01', 349534908) [1m[36m (12.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:19:01 UTC", "updated_at"=>"2012-01-12 18:19:01 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:19:01 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:19:01 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 82ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 147ms (Views: 145.7ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:05 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:19:08 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:19:37', '2012-01-12 18:19:37', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:19:37 UTC", "updated_at"=>"2012-01-12 18:19:37 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:19:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:19:37 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 65ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 123ms (Views: 121.2ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:37 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (15.0ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$VEmKafhuACfdwpSF8daXmeFVtKFR0AIcOoKBnJ0Ayr7ebyzN9Pvty"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:19:38.154011' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (22.3ms) Completed 200 OK in 159ms (Views: 69.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$cD.Q2SPjQgZrFnKb9d7AHeAgApiJKcKbwJ/DjToHsvzIO1oilF.s."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.7ms) Completed 200 OK in 97ms (Views: 7.6ms | ActiveRecord: 0.0ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$iCAEux5dEY.UNwxVJ3n4puNsnMDKZyQNWweCC9kwTwRcmJRnZBvtO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:19:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 95ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[35m (12.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:19:38 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'test@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:20:06', '2012-01-12 18:20:06', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:20:06 UTC", "updated_at"=>"2012-01-12 18:20:06 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 45ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:20:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$65.SixaRiLbS3EstznvRJedbuxinjCLT7mVLeq05kGMvv7kbmO8ny"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:20:06.592961' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:20:06 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 100ms (Views: 16.6ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:20:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$HK2Ts44NxUnBo7ICbhgPN.OXlGAxgVWnMBDoPuHrB4Qon3dZU.v8C"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:20:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:20:06 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 93ms (Views: 6.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:20:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:20:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$A7WKe4MuQQ491Gv1ckyKeOmtaxbNozmog2eJ3Wc3l3GMDWxqJltpy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:20:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:20:07 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms) Completed 200 OK in 89ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:20:07 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:22:00', '2012-01-12 18:22:00', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:22:00 UTC", "updated_at"=>"2012-01-12 18:22:00 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:22:00 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:22:00 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 46ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms) Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:22:00 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:22:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$1gj/a0CMkgJsn8FKafF6lu2LjeO/Wu5q1CF1kNs1cHy1mDkrX.jaC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:22:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:22:00.977745' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:22:00 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 102ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:22:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:22:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Yha7/Pk4OKtqbyNF5hNtteXEMM7Jg0oxm2DkQO/AxBMk0InWHGaRS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:22:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:22:01 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms) Completed 200 OK in 94ms (Views: 6.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:22:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:22:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$AH5Mlrtq5DvT3tOUpgEXD.9OzluO.AaG2AtQ3WUyB68Om3NhVY8K."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:22:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:22:01 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.7ms) Completed 200 OK in 90ms (Views: 6.1ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:22:01 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:29:07', '2012-01-12 18:29:07', 349534908) [1m[36m (18.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:29:07 UTC", "updated_at"=>"2012-01-12 18:29:07 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:29:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:29:07 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 108ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (20.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (14.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 166ms (Views: 164.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:29:07 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$KICoaQ8KS3iZT6121tanBOKuJ49pJlZQQajbGBhu5dk0ccyNBahFC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:29:08.115527' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:29:08.135136' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (22.4ms) Completed 200 OK in 152ms (Views: 66.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Q22VJEU.QUdymE9hPkXR/eSEuFy9LfgpoTlisS8be6RSJbQ9GFiHa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (4.1ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:29:08.395686' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 18:29:08.489132', "current_sign_in_at" = '2012-01-12 18:29:08.489132', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 18:29:08.489567' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 119ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$7iyGlKLwCb5V.XO1ZEGemOuiZNEMX0eVTR.2DqojDBMNOuXc/MlHO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:29:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 94ms (Views: 8.0ms | ActiveRecord: 0.0ms) [1m[35m (3.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:29:08 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:30:40', '2012-01-12 18:30:40', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:30:40 UTC", "updated_at"=>"2012-01-12 18:30:40 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:30:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:30:40 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 62ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 146ms (Views: 145.0ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:30:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:30:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$20fbZ5jJVks8tTBalnPMsuiFStoeCzL4W.f2AnObwkwVrpB3btZNi"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:30:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:30:40.754733' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:30:40.756270' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:30:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (21.7ms) Completed 200 OK in 156ms (Views: 72.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:30:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:30:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$khNKyMGFXtGDJ2rcuwVsXOhEGfaSeSREgti4dcA2wDDgMKRNLGMWe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:30:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:30:41.012646' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:30:41 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 18:30:41.100200', "current_sign_in_at" = '2012-01-12 18:30:41.100200', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 18:30:41.100701' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 115ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:30:41 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:30:41 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:30:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$956uactme4A0qzi2McbGcuusijkqj.AZ.u0VQB1hrcPQv0iwlL93G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:30:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:30:41 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.7ms) Completed 200 OK in 89ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[35m (4.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:30:41 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:35:19', '2012-01-12 18:35:19', 349534908) [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:35:19 UTC", "updated_at"=>"2012-01-12 18:35:19 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:35:19 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:35:19 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 70ms (ActiveRecord: 1.0ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 139ms (Views: 137.5ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:35:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$d4s/rVSW2kZEE2GUxfZtHe4uD.NTJzfd7zdJw5RkUQrmGr38/gTbq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:35:20.174697' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:35:20.176189' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (22.6ms) Completed 200 OK in 145ms (Views: 64.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Jhl5s7pWligGgPgsY8qJH.E1TrOd4IJoLWjpx4ZLm1ekawpjg3q/6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:35:20.425425' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 18:35:20.516599', "current_sign_in_at" = '2012-01-12 18:35:20.516599', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 18:35:20.517062' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 152ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$kS1/bvSgAQoVqc6J2ZJNHe78kLTOugA1mP3LaWSsPpBCerQKwKhcK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:35:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.7ms) Completed 200 OK in 94ms (Views: 6.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:35:20 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 864673665, 201799169)[0m [1m[35mFixture Delete (1.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 18:49:16', '2012-01-12 18:49:16', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 18:49:16 UTC", "updated_at"=>"2012-01-12 18:49:16 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:49:16 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 18:49:16 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (25.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 146ms (Views: 144.0ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$e1cU2hU2WUP5IxualvBSf.0p5DyOVcn4HK5xRW.ImbX5g7s8X6x4a"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:49:17.171990' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 18:49:17.173400' WHERE "users"."id" = 999914116 [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.3ms) Completed 200 OK in 172ms (Views: 89.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$CS8u3LkX1CqQ418SJo/qo.9oARFF99TFAqz7IuqDgb69H0WXoBj6m"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 18:49:17.448814' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 18:49:17.539114', "current_sign_in_at" = '2012-01-12 18:49:17.539114', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 18:49:17.539647' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 130ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 26ms (Views: 24.5ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$x9gEnN.Qs3VU4l.6sTNUSOM46sYjAHpvbaG8Vedv80UnJmIjVJ2Iy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 18:49:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms) Completed 200 OK in 94ms (Views: 7.4ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 13:49:17 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:00:16', '2012-01-12 19:00:16', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 19:00:16 UTC", "updated_at"=>"2012-01-12 19:00:16 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 19:00:16 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 19:00:16 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 45ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (26.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:00:16 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:00:16 -0500 [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:00:16 -0500 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 14:00:16 -0500 [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:02:10', '2012-01-12 19:02:10', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 19:02:10 UTC", "updated_at"=>"2012-01-12 19:02:10 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms) Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$tRRiKPao837x6rMsbZM23uRyXhIAN83xtWdJ7cb8ag2hcmZZgLpy2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 19:02:10.631733' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 19:02:10.633847' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (26.0ms) Completed 200 OK in 118ms (Views: 35.0ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$/B.KooEey0bIt790aRUy4.fC1k6SWE8u8HzxrV0peJVWgmufh0ycq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:02:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 19:02:10.855415' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 19:02:10.938617', "current_sign_in_at" = '2012-01-12 19:02:10.938617', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 19:02:10.939068' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 87ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) [1m[36m (5.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:02:10 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 19:02:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$jhFsdNtvQmVN0DxJVgCEzOJOgAjxwBL3CERG1Enw2KtvB5DGsi4am"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:02:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:02:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 87ms (Views: 6.9ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 14:02:11 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 19:04:27', '2012-01-12 19:04:27', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 19:04:27 UTC", "updated_at"=>"2012-01-12 19:04:27 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 51ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (26.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:04:27 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('deleted-2@example.com') LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$hIJ/oKSzaQ3Ug3ykzOT2AuYbyrhCFPZPlWNQOuHfpBeNH/22Nid7."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 19:04:27.750660' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-01-12 19:04:27.752247' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:04:27 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Completed in 2ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.3ms) Completed 200 OK in 125ms (Views: 39.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:04:27 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('valid-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Kl/Teq2tZtAcgP4nozIbDupj9aYduZRBGHT2a7hW/O1aEpD5fLHJ6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-01-12 19:04:27.988151' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:04:27 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-01-12 19:04:28.079702', "current_sign_in_at" = '2012-01-12 19:04:28.079702', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-01-12 19:04:28.080175' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 98ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:04:28 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-01-12 14:04:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE LOWER("users"."email") = LOWER('pending-2@example.com') LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "remember_token", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 12 Jan 2012 19:04:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$qRUYeScb8CHqOyuTgwW0Vuqxh6WrHg8WSu6gTCWxs7ZOxMbssSh8S"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["remember_token", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 12 Jan 2012 19:04:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-01-12 14:04:28 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Completed in 1ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 88ms (Views: 7.1ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-01-12 14:04:28 -0500 Processing by WelcomeController#index as HTML Completed in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', 'MyString', 'ResetTokenOne', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyString', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "remember_token", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyString', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-01-12 20:09:10', '2012-01-12 20:09:10', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-01-12 20:09:10 UTC", "updated_at"=>"2012-01-12 20:09:10 UTC"}} request {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} omniauth: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 OMNI AUTH INFO: {"provider"=>"google_apps", "user_info"=>{"email"=>"test@example.com"}, "uid"=>"test@example.com"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 12 Jan 2012 20:09:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 12 Jan 2012 20:09:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 67ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 3ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (25.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.2ms) ERROR: compiling ___sers_remo_code_ruby_gems_contour_app_views_contour_layouts__menu_html_erb___768288277252410932_70259792045060 RAISED /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting '(' ...r.append= ( link_to_if not link[:path].blank?, (link[:eval] ... ... ^ /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb:16: syntax error, unexpected ',', expecting ')' ...k_to_if not link[:path].blank?, (link[:eval] ? eval(link[:na... ... ^ /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb:16: syntax error, unexpected ',', expecting ')' ...mage], link[:image_options]))), eval(link[:path].to_s), :cla... ... ^ /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb:16: syntax error, unexpected ',', expecting ')' ...ns]))), eval(link[:path].to_s), :class => 'noicon', :target ... ... ^ /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb:16: syntax error, unexpected ',', expecting ')' ...ath].to_s), :class => 'noicon', :target => link[:target] );@... ... ^ Function body: def ___sers_remo_code_ruby_gems_contour_app_views_contour_layouts__menu_html_erb___768288277252410932_70259792045060(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "contour/layouts/_menu";_old_output_buffer = @output_buffer;menu = local_assigns[:menu];;@output_buffer = output_buffer || ActionView::OutputBuffer.new; display = ['not_signed_in', 'always'] if user_signed_in? display = ['signed_in', 'always'] end @output_buffer.safe_concat('
');@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:285:in `module_eval' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:285:in `compile' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:233:in `compile!' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:142:in `block in render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `block in instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:141:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/partial_renderer.rb:230:in `block in render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `block in instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/partial_renderer.rb:229:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/renderer.rb:41:in `render_partial' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/renderer.rb:15:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/helpers/rendering_helper.rb:24:in `render' /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/application.html.erb:28:in `___sers_remo_code_ruby_gems_contour_app_views_contour_layouts_application_html_erb__76665784851850878_70259765275760' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:143:in `block in render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `block in instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/template.rb:141:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/template_renderer.rb:53:in `render_with_layout' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/template_renderer.rb:39:in `render_template' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/template_renderer.rb:12:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/renderer.rb:36:in `render_template' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_view/renderer/renderer.rb:17:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/rendering.rb:109:in `_render_template' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/streaming.rb:225:in `_render_template' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/rendering.rb:103:in `render_to_body' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/rendering.rb:88:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/rendering.rb:16:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/core_ext/benchmark.rb:5:in `ms' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.2.0.rc2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:39:in `render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/base.rb:167:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/rendering.rb:10:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/callbacks.rb:414:in `_run__1340616384108326865__process_action__278830462943872583__callbacks' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/callbacks.rb:405:in `__run_callback' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/callbacks.rb:81:in `run_callbacks' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/callbacks.rb:17:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/rescue.rb:29:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `block in instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0.rc2/lib/active_support/notifications.rb:119:in `instrument' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.2.0.rc2/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/base.rb:121:in `process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/abstract_controller/rendering.rb:45:in `process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/test_case.rb:464:in `process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/test_case.rb:49:in `process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/devise-1.4.9/lib/devise/test_helpers.rb:19:in `block in process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/devise-1.4.9/lib/devise/test_helpers.rb:70:in `catch' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/devise-1.4.9/lib/devise/test_helpers.rb:70:in `_catch_warden' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/devise-1.4.9/lib/devise/test_helpers.rb:19:in `process' /usr/local/rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc2/lib/action_controller/test_case.rb:380:in `get' /Users/remo/code/ruby/gems/contour/test/functional/authentications_controller_test.rb:13:in `block inHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 442ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (26.8ms) Completed 200 OK in 63ms (Views: 62.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:10:07 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qKF3bpP.zPrw9HvLgm.knOdPdk6hwsdxfQVww2.ISB3IbGGdCD3Ta"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:10:08.049818' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:10:08.051161' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2pJblkm.tRwSAhCfZJ42l.QXS4FOEJY1JQs7fWfD8hBiNsrOrnJYK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:10:08.132280' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:10:08.140982', "current_sign_in_at" = '2012-02-13 15:10:08.140982', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:10:08.141431' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nruWFFVARbMrdIlLEDU/suLXJVSWg.o8rDktVbdJmKx09qTCrC9LK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:10:08 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 39ms (Views: 38.9ms | ActiveRecord: 0.0ms) [1m[36m (11.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:10:08.375615', "current_sign_in_at" = '2012-02-13 15:10:08.375615', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:10:08.376283' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 90ms (Views: 0.2ms | ActiveRecord: 1.1ms) [1m[36m (13.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:10:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 90ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (16.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:12:14', '2012-02-13 15:12:14', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:12:14 UTC", "updated_at"=>"2012-02-13 15:12:14 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:12:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:12:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 159ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (36.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 135ms (Views: 132.3ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '254cGjB2xn1v7ngHJ584' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = '254cGjB2xn1v7ngHJ584', "reset_password_sent_at" = '2012-02-13 15:12:14.747039', "updated_at" = '2012-02-13 15:12:14.747808' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (18ms) Date: Mon, 13 Feb 2012 10:12:14 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f39284ed6965_17d93fc99c434d385633e@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 180ms (ActiveRecord: 0.0ms) [1m[36m (22.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.6ms) Completed 200 OK in 55ms (Views: 54.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xw1j97shEF5qZqK62FQ6U.AnVxrorg6ZAEnw0XCKdij0GbZ65Lgc6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (24.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:12:16.236060' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:12:16.261903' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 45ms (Views: 44.4ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$/rXJkNsmO9MdDr4KMHZfaeGy5EZB8Kq.tEfHTBzi87x3mOFzbLSHW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:12:16.348882' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:12:16.357551', "current_sign_in_at" = '2012-02-13 15:12:16.357551', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:12:16.358036' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iuHdc2zwA.7YW4rtWBeLoezfxjwYEFhegvSEV8Vca0fBcyHQyONpu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:12:16 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (51.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:12:16.524741', "current_sign_in_at" = '2012-02-13 15:12:16.524741', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:12:16.525384' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 137ms (Views: 0.4ms | ActiveRecord: 51.7ms) [1m[36m (21.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (14.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:12:16 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (19.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:14:56', '2012-02-13 15:14:56', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:14:56 UTC", "updated_at"=>"2012-02-13 15:14:56 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:14:56 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:14:56 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 149ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 184ms (Views: 182.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'iw5WaYHmxXXeF4CdXFx4' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'iw5WaYHmxXXeF4CdXFx4', "reset_password_sent_at" = '2012-02-13 15:14:56.824222', "updated_at" = '2012-02-13 15:14:56.825177' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (23ms) Date: Mon, 13 Feb 2012 10:14:56 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3928f0e4a01_18013fdb90834d385574b@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 182ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.3ms) Completed 200 OK in 64ms (Views: 63.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$nnRZ7PmH8f1JZKLMfdVt6.8dd8CA48wApgSdyri9HitNizfE0uSKO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:14:57.224370' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:14:57.225670' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 24ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$45GgpRWUfFgIasFGPt5UAOkWN3thA8VOTykyQ/TCWjoviROsTw18e"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:14:57.313309' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:14:57.322003', "current_sign_in_at" = '2012-02-13 15:14:57.322003', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:14:57.322404' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 51ms (Views: 48.4ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wn7ZbA5lGSkd0vfOzD85zuMfqXycs55f9J8fsn3ux6euLqUuIRmQ2"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:14:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:14:57.524267', "current_sign_in_at" = '2012-02-13 15:14:57.524267', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:14:57.524927' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:14:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:17:39', '2012-02-13 15:17:39', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:17:39 UTC", "updated_at"=>"2012-02-13 15:17:39 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:17:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:17:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 54ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 133ms (Views: 131.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LDJw2E1J1VY4ysFytWKA' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LDJw2E1J1VY4ysFytWKA', "reset_password_sent_at" = '2012-02-13 15:17:39.975016', "updated_at" = '2012-02-13 15:17:39.975702' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (44ms) Date: Mon, 13 Feb 2012 10:17:40 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392994145ba_182e3ff441034d4469720@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 130ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.7ms) Completed 200 OK in 54ms (Views: 52.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$lwYu16TY97vEf33SBm5ff.UDDTzh0b.3G7w7Ehy1ZLohAdW2/vnFy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:17:40.241343' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:17:40.242589' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 33ms (Views: 32.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ihCZUi9HNQrwwPaMBIl7p.z95cGkBeBXOiFMdKEDJYsY.QmxfDeb6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:17:40.316686' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:17:40.325448', "current_sign_in_at" = '2012-02-13 15:17:40.325448', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:17:40.325891' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SvATk8PpuLhmGx4vya3uduso.GtbjpTupN21ltTLvAASDDrgLHVmi"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:17:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 44ms (Views: 43.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:17:40.515773', "current_sign_in_at" = '2012-02-13 15:17:40.515773', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:17:40.516840' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:17:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:18:32', '2012-02-13 15:18:32', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:18:32 UTC", "updated_at"=>"2012-02-13 15:18:32 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 56ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 85ms (Views: 83.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [Devise] Could not find devise mapping for path "/users/password?user%5Bemail%5D=valid%40example.com". Maybe you forgot to wrap your route inside the scope block? For example: devise_scope :user do match "/some/route" => "some_devise_controller" end Completed 500 Internal Server Error in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#new as HTML [Devise] Could not find devise mapping for path "/users/password/new". Maybe you forgot to wrap your route inside the scope block? For example: devise_scope :user do match "/some/route" => "some_devise_controller" end Completed 500 Internal Server Error in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$OPIZ34WpNIuDcycNBlnE0.8mR95KikXHJHL8BzKC8QmwqSEJDOjna"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:18:32.789738' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:18:32.791543' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tGXdi4OubEA9Ds0Yd7Ocvu/HmkmOjrnKi2dsudo04o9udHX9.cnrG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:18:32.877030' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:18:32.885541', "current_sign_in_at" = '2012-02-13 15:18:32.885541', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:18:32.886355' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wLt/Iq9KJfQh6RTReMfmzOii/Bm26ODDfBNO/Ly7Nx4VA1YCLpG7G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:18:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:18:33.050853', "current_sign_in_at" = '2012-02-13 15:18:33.050853', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:18:33.051470' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:18:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 81ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:18:50', '2012-02-13 15:18:50', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:18:50 UTC", "updated_at"=>"2012-02-13 15:18:50 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 55ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 62ms (Views: 59.8ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KKogvRZ2UNFzsW1ZbbXb' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KKogvRZ2UNFzsW1ZbbXb', "reset_password_sent_at" = '2012-02-13 15:18:50.609081', "updated_at" = '2012-02-13 15:18:50.609845' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (16ms) Date: Mon, 13 Feb 2012 10:18:50 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3929daa651d_18403fe051034d346004d@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 97ms (ActiveRecord: 0.0ms) [1m[36m (2.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$rGvGGhCdeLLRvZbC4Od/JeucWRR3ayZ/W.5Sv1w2NvxoLQvBKdlOG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:18:50.805938' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:18:50.808068' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$4btZO7GMClF2fKlZGOy1aeDVeD5Hrp87gvstLZwXTZf8.m1Tg/kv2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:18:50.866118' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:18:50.877784', "current_sign_in_at" = '2012-02-13 15:18:50.877784', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:18:50.878306' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 36ms (Views: 34.1ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4g4C8x85jgG7f/flCmQ9mOfw60QjrhV.o1pSchWEbGMP0f/fFribW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:18:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:18:50 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:18:51.067089', "current_sign_in_at" = '2012-02-13 15:18:51.067089', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:18:51.067708' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:18:51 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:19:14', '2012-02-13 15:19:14', 349534908) [1m[36m (70.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:19:14 UTC", "updated_at"=>"2012-02-13 15:19:14 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:19:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:19:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 54ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'yx5nisBFqKTpatDcHjCT' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'yx5nisBFqKTpatDcHjCT', "reset_password_sent_at" = '2012-02-13 15:19:14.829130', "updated_at" = '2012-02-13 15:19:14.829953' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (45ms) Date: Mon, 13 Feb 2012 10:19:14 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3929f2def88_18473fdb50434d40616f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 107ms (ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:19:14 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$smXgTgQHPtaPrlmbj6UsF.KYGohQEASNKtPuFy9IRKI6.rI.EROb6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:19:15.025168' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:19:15.026511' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Gqn5ipRh8EkwhOygg0K0XOY30.wRGmRZena0E.OJjhCrmwekWnSeO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:19:15.081616' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:19:15.092827', "current_sign_in_at" = '2012-02-13 15:19:15.092827', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:19:15.093446' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$vdJ5yxN10IO1KSMTsLOK.OefyueVXYXMpXIJRpJX5TrNGpZrWUyte"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 43ms (Views: 42.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:19:15.282699', "current_sign_in_at" = '2012-02-13 15:19:15.282699', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:19:15.283321' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:19:15 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:20:50', '2012-02-13 15:20:50', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:20:50 UTC", "updated_at"=>"2012-02-13 15:20:50 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (26.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Vasp2YPkc8gpLFoQ593v' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'Vasp2YPkc8gpLFoQ593v', "reset_password_sent_at" = '2012-02-13 15:20:50.364934', "updated_at" = '2012-02-13 15:20:50.365603' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47ms) Date: Mon, 13 Feb 2012 10:20:50 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392a526c40a_185e3fe1a9434d40473fd@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 105ms (ActiveRecord: 0.0ms) [1m[36m (12.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Hj0sCqQlnDEEQVRfybJ5f.F6PRkJtDYpo1oCZOeATWrfj96xEJBfS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:20:50.577750' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:20:50.578970' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$L4d301jdBTsQXvNlbJGCE./44FG0XJqqvORrEykCht6mjrYlUhokm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:20:50.630777' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:20:50.639493', "current_sign_in_at" = '2012-02-13 15:20:50.639493', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:20:50.639949' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$IQndC4sjqsv5BjYJ/RkXbuiWJQYwL.Bm9zQNXWg5/u2w9Qh.ipSLC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:20:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:20:50.828679', "current_sign_in_at" = '2012-02-13 15:20:50.828679', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:20:50.829340' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:20:50 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:24:39', '2012-02-13 15:24:39', 349534908) [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:24:39 UTC", "updated_at"=>"2012-02-13 15:24:39 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:24:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:24:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 53ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (31.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 81ms (Views: 79.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'edyMx5UrafTB5PpYX5AD' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'edyMx5UrafTB5PpYX5AD', "reset_password_sent_at" = '2012-02-13 15:24:39.816428', "updated_at" = '2012-02-13 15:24:39.817134' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47ms) Date: Mon, 13 Feb 2012 10:24:39 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392b37df095_18923fe035c34d4433684@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 119ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:24:39 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KRa9RS.U.J1KU5jhJ.3Epu1FwwabPT6qA0B7b22N0SGZ.t3Ir4mCO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:24:40.034715' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:24:40.036782' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ifJN9kPUgQZMeIdlNo6vyeOOkG3Ne904mZTuXCNhTcR.oAkME.JY."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:24:40.097506' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:24:40.107986', "current_sign_in_at" = '2012-02-13 15:24:40.107986', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:24:40.108435' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$5aQ5.oatKAw6.BGaF4za5.rAkXFe9Ptqrts3OG/P2x0MZSWe3VHu."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:24:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 40ms (Views: 39.6ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:24:40.296853', "current_sign_in_at" = '2012-02-13 15:24:40.296853', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:24:40.297531' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:24:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 86ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (17.0ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:30:05', '2012-02-13 15:30:05', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:30:05 UTC", "updated_at"=>"2012-02-13 15:30:05 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:30:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:30:05 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 158ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (27.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms) Completed 200 OK in 176ms (Views: 174.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'y6fmrfPoBCvh6G6WLfYp' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'y6fmrfPoBCvh6G6WLfYp', "reset_password_sent_at" = '2012-02-13 15:30:06.076039', "updated_at" = '2012-02-13 15:30:06.076906' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (51ms) Date: Mon, 13 Feb 2012 10:30:06 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392c7e33f7b_18dd3fe8a9c34d40330e2@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 216ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.8ms) Completed 200 OK in 64ms (Views: 62.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.3ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$3rABh505USm2ziDhp3Mv3.wRWY5zgwglFIcXGEPqYdDBrmrGt3Uz."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:30:06.490948' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:30:06.492382' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 19ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 31ms (Views: 29.7ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NLmAlR0DGmO5E3JURgfubu5u3zsXtHh/aAFmuhxSvJnTmUylinhTK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:30:06.576786' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:30:06.585699', "current_sign_in_at" = '2012-02-13 15:30:06.585699', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:30:06.586133' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.2ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$INYtTHpF/695GttRqzT47u.KSx3YLnra7fSgYEfcXNbCXZlKQKgtS"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:30:06 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 45ms (Views: 44.8ms | ActiveRecord: 0.0ms) [1m[36m (9.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (12.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:30:06.796950', "current_sign_in_at" = '2012-02-13 15:30:06.796950', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:30:06.797600' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 97ms (Views: 0.2ms | ActiveRecord: 13.2ms) [1m[36m (14.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:30:06 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 86ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 864673665, 201799169)[0m [1m[35mFixture Delete (1.5ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:32:16', '2012-02-13 15:32:16', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:32:16 UTC", "updated_at"=>"2012-02-13 15:32:16 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:32:16 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:32:16 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 169ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (27.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 144ms (Views: 141.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jHoDf1xxZ1wjqsyqUVDb' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jHoDf1xxZ1wjqsyqUVDb', "reset_password_sent_at" = '2012-02-13 15:32:16.586119', "updated_at" = '2012-02-13 15:32:16.587181' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 160ms [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 125ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:32:16 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:32:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:32:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:32:17 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:32:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:32:18.186512', "current_sign_in_at" = '2012-02-13 15:32:18.186512', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:32:18.187215' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 90ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:32:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 83ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:33:26', '2012-02-13 15:33:26', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:33:26 UTC", "updated_at"=>"2012-02-13 15:33:26 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:33:26 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:33:26 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 233ms [1m[36m (238.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 33ms [1m[36m (216.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Completed 500 Internal Server Error in 312ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3jqycdQXX45prEEx3TqE' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '3jqycdQXX45prEEx3TqE', "reset_password_sent_at" = '2012-02-13 15:33:27.595948', "updated_at" = '2012-02-13 15:33:27.596671' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 174ms [1m[36m (2.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 127ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:33:27 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:33:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:33:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:33:28 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:33:28 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:33:28.807016', "current_sign_in_at" = '2012-02-13 15:33:28.807016', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:33:28.807627' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:33:28 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 87ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:34:27', '2012-02-13 15:34:27', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:34:27 UTC", "updated_at"=>"2012-02-13 15:34:27 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:34:27 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:34:27 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 119ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 34ms [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Completed 500 Internal Server Error in 196ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'nGzvgA4z6WP5yyVz7vMb' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'nGzvgA4z6WP5yyVz7vMb', "reset_password_sent_at" = '2012-02-13 15:34:28.015303', "updated_at" = '2012-02-13 15:34:28.016156' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 69ms [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 106ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:34:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:34:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:34:28 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:34:28 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:34:29 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:34:29.153791', "current_sign_in_at" = '2012-02-13 15:34:29.153791', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:34:29.154514' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35m (130.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:34:29 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 85ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:37:07', '2012-02-13 15:37:07', 349534908) [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:37:07 UTC", "updated_at"=>"2012-02-13 15:37:07 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:37:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:37:07 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 173ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 18ms [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Completed 500 Internal Server Error in 174ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zzzzV6jTqRG43Vc64xA1' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zzzzV6jTqRG43Vc64xA1', "reset_password_sent_at" = '2012-02-13 15:37:07.917469', "updated_at" = '2012-02-13 15:37:07.918366' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 153ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 40ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:37:08.643429', "current_sign_in_at" = '2012-02-13 15:37:08.643429', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:37:08.644387' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:37:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 89ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:37:44', '2012-02-13 15:37:44', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:37:44 UTC", "updated_at"=>"2012-02-13 15:37:44 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:37:44 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:37:44 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 71ms [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1[0m [["id", "949717663"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "authentications" WHERE "authentications"."id" = ?[0m [["id", 949717663]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 17ms [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Completed 500 Internal Server Error in 124ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jGVBwQWgzpsUyhHutdrC' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jGVBwQWgzpsUyhHutdrC', "reset_password_sent_at" = '2012-02-13 15:37:44.772045', "updated_at" = '2012-02-13 15:37:44.772765' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 77ms [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 66ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:37:46 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:37:47 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:37:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:37:48.674834', "current_sign_in_at" = '2012-02-13 15:37:48.674834', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:37:48.675605' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:37:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 86ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:05', '2012-02-13 15:38:05', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:38:05 UTC", "updated_at"=>"2012-02-13 15:38:05 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 61ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (3.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (27.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 117ms (Views: 115.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4rXiUjPJLqHW9ZLD7Y77' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '4rXiUjPJLqHW9ZLD7Y77', "reset_password_sent_at" = '2012-02-13 15:38:05.527493', "updated_at" = '2012-02-13 15:38:05.528173' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (50ms) Date: Mon, 13 Feb 2012 10:38:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392e5d972af_19593fef42034d342779f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 115ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$vGI1Blw08fsG1tl4x9aOK.hzwQUMXs/QIxjIjha90Lv7bwGTF1jiG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:05.817423' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:38:05.818742' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 22ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$lK.APkA0c5MPQXsoNHG4QuLflKNG4DPHkMIQHAoYgu2LlVSQZIST2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:05.874048' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:05.883495', "current_sign_in_at" = '2012-02-13 15:38:05.883495', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:05.883930' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.2ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$xt5gH8g4pM8Tmp8GDMtCK.YV4B5aXW9SkT.7npICRcYQr2U.olOkO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:05 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:05 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:06.046052', "current_sign_in_at" = '2012-02-13 15:38:06.046052', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:06.046713' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (29.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:06 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:47', '2012-02-13 15:38:47', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:38:47 UTC", "updated_at"=>"2012-02-13 15:38:47 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:38:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 60ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (33.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 113ms (Views: 111.0ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qjPx3ASwbKxPakuv4Le6' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'qjPx3ASwbKxPakuv4Le6', "reset_password_sent_at" = '2012-02-13 15:38:47.774274', "updated_at" = '2012-02-13 15:38:47.775769' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (16ms) Date: Mon, 13 Feb 2012 10:38:47 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392e87d0098_19643ff896034d409827c@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 98ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (26.7ms) Completed 200 OK in 37ms (Views: 35.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:47 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:38:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wFeyl92SOKoQ73ruEvpneeIu3mREJRNJVLE4PjdRZJGnq58j9MlKW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:47.995680' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:38:47.996880' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:47 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[35m (10.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N2c848CzQ0D9DIZS7Qwuguyw/Wn6xY5TLpyNZ11DB9/3VQOAyieli"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:48.062901' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:48.071295', "current_sign_in_at" = '2012-02-13 15:38:48.071295', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:48.071785' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ie0oneTeUN7w8PuWwgeAduHHPTt1EEZ6AuTTChCSVqZBtaqfx1eQ."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:48.260367', "current_sign_in_at" = '2012-02-13 15:38:48.260367', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:48.261003' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 90ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 86ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:38:59', '2012-02-13 15:38:59', 349534908) [1m[36m (2.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:38:59 UTC", "updated_at"=>"2012-02-13 15:38:59 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 53ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (28.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms) Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ajkh53xgXkJWpuFEogRU' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ajkh53xgXkJWpuFEogRU', "reset_password_sent_at" = '2012-02-13 15:38:59.333584', "updated_at" = '2012-02-13 15:38:59.334250' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47ms) Date: Mon, 13 Feb 2012 10:38:59 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392e9363ca7_19683fd789034d3c846bb@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 97ms (ActiveRecord: 0.0ms) [1m[36m (11.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$HeLQHnTNZwnd92Mv4pEWQu6pdO308AwjT8.kjr7efb94mQcrKtrXu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:59.540006' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:38:59.542986' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$TOz2T3k5yqo1hApFqUHbheCaFjR8Cbq2jqOEnCQpKasnx/q9iwR36"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:38:59.599561' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:59.608648', "current_sign_in_at" = '2012-02-13 15:38:59.608648', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:59.609210' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SJqw2LrcMw7/MFLOPNR6beuUEraBoj88EwRr90MSkyvSos.hW2Yxy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:38:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:38:59.795464', "current_sign_in_at" = '2012-02-13 15:38:59.795464', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:38:59.796093' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:38:59 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 88ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:39:56', '2012-02-13 15:39:56', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:39:56 UTC", "updated_at"=>"2012-02-13 15:39:56 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:39:56 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:39:56 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 195ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (33.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 160ms (Views: 157.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'tUb1VPzhL6A2Qvo3FC1T' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'tUb1VPzhL6A2Qvo3FC1T', "reset_password_sent_at" = '2012-02-13 15:39:56.895585', "updated_at" = '2012-02-13 15:39:56.896774' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (18ms) Date: Mon, 13 Feb 2012 10:39:57 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f392eccf3f65_19753ffce8434d40598ab@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 156ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (41.2ms) Completed 200 OK in 62ms (Views: 61.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$v6yXXflx6coxEzmPlAACLeEtvI5iQ3dGEHymiubdjrQlGfE.Ym602"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:39:57.167054' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:39:57.168323' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RrYJVhUGgsRRppbJmLBLZOCU5czBJI1vIq93lW2/.cJOgDWSIWFJS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:39:57.227429' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:39:57.239253', "current_sign_in_at" = '2012-02-13 15:39:57.239253', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:39:57.239885' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HwsUVQtoe4wY8oq0eEYrXOOvgLsMtlnugAno0O0/zL.ud2A/.YKjO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:39:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:39:57.426630', "current_sign_in_at" = '2012-02-13 15:39:57.426630', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:39:57.427247' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:39:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (13.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 864673665, 201799169)[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:49:02', '2012-02-13 15:49:02', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:49:02 UTC", "updated_at"=>"2012-02-13 15:49:02 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:49:02 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:49:02 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 56ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 145ms (Views: 142.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'YrqhHKL1Wf8zaGpBbdvA' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'YrqhHKL1Wf8zaGpBbdvA', "reset_password_sent_at" = '2012-02-13 15:49:02.823821', "updated_at" = '2012-02-13 15:49:02.824676' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (19ms) Date: Mon, 13 Feb 2012 10:49:02 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3930eee3aaf_19f93fe0a4c34d347188b@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 132ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.3ms) Completed 200 OK in 60ms (Views: 59.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ENWQ7SoczK2zUnnFGZYejODABsiqdjyOKejZzU0cT/FMq9PX/jsEW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:49:03.115404' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:49:03.117422' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$pAd7ve54TWlzygX3PDAHu.LJ7GbUhdJtQgRpfCMpvdNWqufPr/ryu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:49:03.175258' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:49:03.186009', "current_sign_in_at" = '2012-02-13 15:49:03.186009', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:49:03.186426' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (33.1ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$2S6N.2DD9/Ef7OMI62yhbOCWk3sT33FhLVhTwqpPIIPWCK59kKddm"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:49:03 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:49:03.382099', "current_sign_in_at" = '2012-02-13 15:49:03.382099', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:49:03.382747' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:49:03 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (12.9ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 864673665, 201799169)[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:53:54', '2012-02-13 15:53:54', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:53:54 UTC", "updated_at"=>"2012-02-13 15:53:54 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 170ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (32.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 159ms (Views: 156.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KGc3KaixUFkVZLDSqshq' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KGc3KaixUFkVZLDSqshq', "reset_password_sent_at" = '2012-02-13 15:53:55.257027', "updated_at" = '2012-02-13 15:53:55.258126' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (51ms) Date: Mon, 13 Feb 2012 10:53:55 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f393213622b6_1a603fef94434d384520@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 208ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.7ms) Completed 200 OK in 54ms (Views: 53.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ppUBTypnBdX5AtMjY/lbz.IcxUZje7kzuSNXPyy9Dja/nA1B79VtS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:53:55.658146' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:53:55.659977' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 22ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$3JRAiQ9FDZ/Dx6Xn9ckUlOkU/lWXFxf9aFw0Aep/FbkP8nO16ioZ."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:53:55.745813' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:53:55.754518', "current_sign_in_at" = '2012-02-13 15:53:55.754518', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:53:55.755131' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$J3aZ6j2pRCaCGw1Ak.D7sOrxxAe72va3nImiJ.0xUfZr63Mp0NFEG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:53:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:53:55.948552', "current_sign_in_at" = '2012-02-13 15:53:55.948552', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:53:55.949164' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:53:55 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 87ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:56:46', '2012-02-13 15:56:46', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:56:46 UTC", "updated_at"=>"2012-02-13 15:56:46 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:56:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:56:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 182ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (28.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 198ms (Views: 196.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'szxnuxnRbu5xvur7Cyhz' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'szxnuxnRbu5xvur7Cyhz', "reset_password_sent_at" = '2012-02-13 15:56:47.388984', "updated_at" = '2012-02-13 15:56:47.389761' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (53ms) Date: Mon, 13 Feb 2012 10:56:47 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3932bf7d849_1a863fc729c34d3c65787@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 211ms (ActiveRecord: 0.0ms) [1m[36m (19.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (47.9ms) Completed 200 OK in 102ms (Views: 100.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:56:47 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:56:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$B3UH0PnMUtmkyGo9kP/cJOsp7g8/xwOTKxue1EBM9eIRPSsEc6QqS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:56:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:56:47.892132' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:56:47.893597' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:56:47 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:56:47 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.0ms) [1m[35m (1.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:56:47 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:56:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nr/4mAkneUhyeTMcGJ9ISO1ueCDUA2j9aEBnl8v7LzY1eAvYOD/be"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:56:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:56:48.007763' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:56:48.016772', "current_sign_in_at" = '2012-02-13 15:56:48.016772', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:56:48.017328' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.2ms) [1m[35m (19.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:56:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$i8D.TxDnfsqdbE1xqx66nOJUh0RSv5Pn7ppRVlzGBJ3QBX874zVKG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:56:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:56:48.278337', "current_sign_in_at" = '2012-02-13 15:56:48.278337', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:56:48.279249' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 92ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:56:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 96ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (12.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-13 15:59:19', '2012-02-13 15:59:19', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-13 15:59:19 UTC", "updated_at"=>"2012-02-13 15:59:19 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 170ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (26.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 143ms (Views: 141.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xYWCshXLL2vrcaZqic1a' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'xYWCshXLL2vrcaZqic1a', "reset_password_sent_at" = '2012-02-13 15:59:20.245144', "updated_at" = '2012-02-13 15:59:20.246175' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (46ms) Date: Mon, 13 Feb 2012 10:59:20 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f39335871b66_1ac03fcaf6034d403132f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 293ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (26.7ms) Completed 200 OK in 52ms (Views: 51.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$O5Hbo/Yn9S6vOLDEtFAMWOSJPzIt7Dnla5saLazSxJQ70E2.L9aVW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:59:20.747779' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-13 15:59:20.749330' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$4lkqXzH90BeI2JvnseUpk.gAaU.EVm/NlWMoXo6Hhk8Fx5rs5Rnk6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-13 15:59:20.853308' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:59:20.861866', "current_sign_in_at" = '2012-02-13 15:59:20.861866', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:59:20.862324' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.1ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Er/QxlbLrdCTTzFT6JHy8OROdiA8acEXgKni.aRvGrf6G9MVhTwVe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 13 Feb 2012 15:59:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 43ms (Views: 42.7ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:59:20 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-13 15:59:21.065413', "current_sign_in_at" = '2012-02-13 15:59:21.065413', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-13 15:59:21.066063' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-13 10:59:21 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (36.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 14:50:29', '2012-02-14 14:50:29', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 14:50:30', '2012-02-14 14:50:30', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 14:50:30', '2012-02-14 14:50:30', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 14:50:30', '2012-02-14 14:50:30', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 14:50:30', '2012-02-14 14:50:30', 349534908) [1m[36m (45.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 14:50:29 UTC", "updated_at"=>"2012-02-14 14:50:29 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (16.7ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 14:50:30 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 271ms (ActiveRecord: 17.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 209ms (Views: 207.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DSkaQRYCsVczLG9yrQpv' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'DSkaQRYCsVczLG9yrQpv', "reset_password_sent_at" = '2012-02-14 14:50:30.861235', "updated_at" = '2012-02-14 14:50:30.862080' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47ms) Date: Tue, 14 Feb 2012 09:50:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a74b7126f_6f1f3fc120434d44665d5@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 214ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.6ms) Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ySorqIoZg9M7iBI.C/eXV.dlhFgTB.esIrE.TQaamRDC1OH1ArU32"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (12.9ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.295200' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 14:50:31.309571' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 20ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ba/mxEWPN2q8Xr3nbVOpiea1YjdU7bPV/6urrKFBdACh2VODAmWia"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 14:50:31.393182' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.402094', "current_sign_in_at" = '2012-02-14 14:50:31.402094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.402505' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$plRQ6W9az6iI9Th9E6EEQuz9UBxm.JfHNQkU/90W1pmYYUjwgsy1S"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 14:50:31 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_at" = '2012-02-14 14:50:31.605983', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 14:50:31.606621' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.4ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 09:50:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (22.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:00:31', '2012-02-14 15:00:31', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:00:31 UTC", "updated_at"=>"2012-02-14 15:00:31 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 160ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.2ms) Completed 200 OK in 183ms (Views: 181.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'p2LDmyYKyYcU3H94sK4M' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'p2LDmyYKyYcU3H94sK4M', "reset_password_sent_at" = '2012-02-14 15:00:31.590810', "updated_at" = '2012-02-14 15:00:31.591549' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (46ms) Date: Tue, 14 Feb 2012 10:00:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a770fafa78_6fa53fd711034d3c862f2@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 206ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.3ms) Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$tr2pFgKx.YaorAADuBYS6uPUIylNLu8QHgZ9Ft904pKb23ywp.LvW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:00:31 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (13.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:31.980211' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:00:31.994677' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 22ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$aUF2Ik.r4p5pgBSxsniroO5PD.WpGy347ySjQS0qOs5TRmOEuERWq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:00:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:00:32.077058' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.086736', "current_sign_in_at" = '2012-02-14 15:00:32.086736', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.087185' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:00:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lUoxI2O1ENgJpalBm55GweY2xtS6RKTgDn6kuGP5iTS.iIkejoDs6"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:00:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_at" = '2012-02-14 15:00:32.274669', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:00:32.275289' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:00:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (22.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:25:37', '2012-02-14 15:25:37', 349534908) [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:25:37 UTC", "updated_at"=>"2012-02-14 15:25:37 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:25:38 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 749ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (2.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (3.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.5ms) Completed 500 Internal Server Error in 267ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dputJKeWcaBGRxzYoHND' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'dputJKeWcaBGRxzYoHND', "reset_password_sent_at" = '2012-02-14 15:25:38.894132', "updated_at" = '2012-02-14 15:25:38.894917' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (42ms) Date: Tue, 14 Feb 2012 10:25:39 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a7cf368c21_72bb3fd860834d34869c1@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 619ms (ActiveRecord: 0.0ms) [1m[36m (2.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 53ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:25:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KvraA6yg3Z9Glp7nzkoEruQNosrzsjT0Gr1S5FVeK1TWLqrFH/432"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:25:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (43.5ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.729951' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:25:39.774858' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Completed 500 Internal Server Error in 37ms [1m[35m (39.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:25:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NGZrWunKlzIoW9mwEVyRLOxcFYOF4BUF8LWVNKgzAINyOnEIsvr/W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:25:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:25:39.909454' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:39.917787', "current_sign_in_at" = '2012-02-14 15:25:39.917787', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:39.918199' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:39 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.1ms) [1m[35m (73.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:25:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qGkMvLybKl7VjqNfgulMV.pRmDdoEjUVtMHSpqZkxoWTdQxoewTcG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:25:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 10ms [1m[36m (184.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_at" = '2012-02-14 15:25:40.360922', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:25:40.361576' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (2.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:25:40 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 15:27:23', '2012-02-14 15:27:23', 349534908) [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 15:27:23 UTC", "updated_at"=>"2012-02-14 15:27:23 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 15:27:23 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 213ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (27.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 252ms (Views: 249.5ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1qAytVDxa7zzqwh9WrBR' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '1qAytVDxa7zzqwh9WrBR', "reset_password_sent_at" = '2012-02-14 15:27:23.738008', "updated_at" = '2012-02-14 15:27:23.738808' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (19ms) Date: Tue, 14 Feb 2012 10:27:23 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a7d5bd06c1_72d43fefd8834d402374a@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 168ms (ActiveRecord: 0.0ms) [1m[36m (17.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.9ms) Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:23 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$arlQqAm1C2iMSRsH2iswQuyblvGikMKZLFol6f/7t6eubf2Gfe51q"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.127215' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 15:27:24.128542' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 29ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BVIab1O47jP/11cc0yTxWOP1TXVnbVCGg7D84cpWK.YBMXDxufuWu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 15:27:24.240647' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.250970', "current_sign_in_at" = '2012-02-14 15:27:24.250970', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.251590' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$BqS1JkBNrUOU391678y1aO30jSW4kjCkGEZ7B8skzJi9DcWGQ/nGu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 15:27:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 39ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_at" = '2012-02-14 15:27:24.459307', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 15:27:24.459978' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 10:27:24 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (22.0ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 864673665, 201799169)[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:14:41', '2012-02-14 16:14:41', 349534908) [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:14:41 UTC", "updated_at"=>"2012-02-14 16:14:41 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:14:41 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 194ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (123.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (38.0ms) Completed 500 Internal Server Error in 189ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Q72LdC1gVTysJCstqUFZ' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'Q72LdC1gVTysJCstqUFZ', "reset_password_sent_at" = '2012-02-14 16:14:41.811754', "updated_at" = '2012-02-14 16:14:41.812619' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (36ms) Date: Tue, 14 Feb 2012 11:14:41 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8871f2cdf_75a23fdac1834d4486738@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 231ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 40ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$6K1RIMsroi8HvQ/R3FhUDO78naYub6dczOL8xtaalLnCv7CNTiWuq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:14:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.293814' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:14:42.295205' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Completed 500 Internal Server Error in 174ms [1m[35m (123.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7xbolghHsyLSjL/hopSptuH35Ia5BOA3AtMh3yE976AD4PIYuyH.e"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:14:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:14:42.715433' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:42.724769', "current_sign_in_at" = '2012-02-14 16:14:42.724769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:42.725232' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 117ms (Views: 115.5ms | ActiveRecord: 0.1ms) [1m[35m (91.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:14:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (7.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:14:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$1tjEtUTWvfDA2tFc4SE9ruKD4zqvUsekOmeDfRc0RgU54lcmQu5EG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:14:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:14:43 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 111ms [1m[36m (174.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:14:43 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_at" = '2012-02-14 16:14:43.473468', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:14:43.474124' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (472.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:14:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:16:32', '2012-02-14 16:16:32', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:16:32 UTC", "updated_at"=>"2012-02-14 16:16:32 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:16:32 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 237ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (42.1ms) Completed 500 Internal Server Error in 218ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '29qBRzbZnvGszczCAYj8' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '29qBRzbZnvGszczCAYj8', "reset_password_sent_at" = '2012-02-14 16:16:33.167291', "updated_at" = '2012-02-14 16:16:33.168110' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (35ms) Date: Tue, 14 Feb 2012 11:16:33 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a88e151db8_75c13ffe38834d401749c@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 218ms (ActiveRecord: 0.0ms) [1m[36m (1.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 31ms [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qsfn1/phWlclTQqO6evMguzjY1NNUT0UJB9k/eEm48Yq5xg1lVpP6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (33.9ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.600620' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:16:33.635981' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 22ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Completed 500 Internal Server Error in 28ms [1m[35m (14.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$uWkRYrVKTJO24.OjKaL0D.ppigc.FsvhMIM7DKQit.Npi5ypv8e8q"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:16:33.742069' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.752196', "current_sign_in_at" = '2012-02-14 16:16:33.752196', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.752939' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.1ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$uSGUAE43TQh5jyvBPWURrO6i9r0GUh/6XM78.M5a/FAvp7wrMS0Ly"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:16:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 10ms [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_at" = '2012-02-14 16:16:33.935924', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:16:33.936818' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:16:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:18:50', '2012-02-14 16:18:50', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:18:50 UTC", "updated_at"=>"2012-02-14 16:18:50 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:18:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 47ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (8.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.8ms) Completed 200 OK in 101ms (Views: 99.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'cdDeXMYxqc3cBMz3eQEB', "reset_password_sent_at" = '2012-02-14 16:18:50.899132', "updated_at" = '2012-02-14 16:18:50.899836' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (40ms) Date: Tue, 14 Feb 2012 11:18:50 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a896af21c6_75e83fd130434d389598b@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 112ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$CU7fTVAiSGpJjgt1ESSGyeNbAeoYW7uSlCECrpe/RkwWXYrl6Zf9i"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.096501' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:18:51.097672' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iz.BrYixnq9Fin9PhbDqLOZQ5ESbVQdzSWPoE4jzibY6v/F3M1.8i"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:18:51.148956' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.160519', "current_sign_in_at" = '2012-02-14 16:18:51.160519', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.161013' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$DnWIVm5RhT0iPj2wgNk8ruKT2jwIqRmsGSjTpcstm.7YPt/UhJ2Ga"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:18:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_at" = '2012-02-14 16:18:51.340572', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:18:51.341187' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:18:51 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:37:56', '2012-02-14 16:37:56', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:37:56 UTC", "updated_at"=>"2012-02-14 16:37:56 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 47ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms) Completed 500 Internal Server Error in 60ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '11GhrHeEzTv6YCd4613d' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '11GhrHeEzTv6YCd4613d', "reset_password_sent_at" = '2012-02-14 16:37:57.233612', "updated_at" = '2012-02-14 16:37:57.234381' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:37:57 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8de54fb3e_76e73fc338c34d4053437@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 109ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 8ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JIOIwzB1r2vaccr7Aoa/iu4oXkFYBSH1paNayv3lpGbmqPhydQm9m"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.425959' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:37:57.427166' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Completed 500 Internal Server Error in 11ms [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ws4CJ1bUxbY/2h5vQ0T8z.PdBOlWlEEtPo2GFi77oUflcOMw6mIP2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:37:57.478274' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.486266', "current_sign_in_at" = '2012-02-14 16:37:57.486266', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.487092' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CF/swc45WSRX1q402EIUFeV6Yqrt7tReak4NYFU6rKXgThkZN5Qna"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:37:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 8ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_at" = '2012-02-14 16:37:57.638772', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:37:57.639380' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:37:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:39:07', '2012-02-14 16:39:07', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:39:07 UTC", "updated_at"=>"2012-02-14 16:39:07 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.9ms) Completed 500 Internal Server Error in 59ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9sZFeK4Diu9EVHApQt76' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = '9sZFeK4Diu9EVHApQt76', "reset_password_sent_at" = '2012-02-14 16:39:08.160150', "updated_at" = '2012-02-14 16:39:08.161402' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:39:08 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8e2c38660_76f83ffd5dc34d40849d3@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 88ms (ActiveRecord: 0.0ms) [1m[36m (15.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 12ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$7xnpu/ew8D2LqwbHd00ysuUFWo8dLKQN/VzkPN09hJnoEs9UDx2dO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.354442' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:39:08.355635' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Completed 500 Internal Server Error in 11ms [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Uv6/azflzJ5mCuaav52Fau.CQFEveGsU1PSxdN8LD/cYqpzR/9Q4W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:39:08.405756' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.413727', "current_sign_in_at" = '2012-02-14 16:39:08.413727', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.414136' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$XccntoqJqMRG1lqLz0vXY.tLyQGkzWRhPstrWwrbwuFsxdbTDjMHG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:39:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 8ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_at" = '2012-02-14 16:39:08.562754', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:39:08.563356' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:39:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:40:33', '2012-02-14 16:40:33', 349534908) [1m[36m (3.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:40:33 UTC", "updated_at"=>"2012-02-14 16:40:33 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 54ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Completed 500 Internal Server Error in 59ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XHDsfY7LcyTFvFs2EyxL', "reset_password_sent_at" = '2012-02-14 16:40:33.582853', "updated_at" = '2012-02-14 16:40:33.583585' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:40:33 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8e819f616_770b3ff2e4834d40836eb@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 87ms (ActiveRecord: 0.0ms) [1m[36m (23.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 9ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZssKLL58gaLxjgbGo03EveITe6bxSLS6DLQXbiJp16EVFRv/F8dJm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.775679' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:40:33.776978' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Completed 500 Internal Server Error in 11ms [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N3ufIhyXXGw9GcXyyhigc.Tc6setlFGFYLkRZrOS/mYCzMUDiGMJe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:40:33.827376' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.836432', "current_sign_in_at" = '2012-02-14 16:40:33.836432', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.836852' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4KLQknP/uzol9ISipHLVpOyzNccUfjpsF0Rpvj3LL5Pc5a9WfmNKa"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:40:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 6ms [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_at" = '2012-02-14 16:40:33.981938', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:40:33.982582' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:40:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:44:35', '2012-02-14 16:44:35', 349534908) [1m[36m (14.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:44:35 UTC", "updated_at"=>"2012-02-14 16:44:35 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.0ms) Completed 500 Internal Server Error in 59ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XRAFUNmsZER4Gcn32vL4' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XRAFUNmsZER4Gcn32vL4', "reset_password_sent_at" = '2012-02-14 16:44:35.790359', "updated_at" = '2012-02-14 16:44:35.791034' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:44:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8f73d137c_773d3fd821434d4015893@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 83ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 8ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:35 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$fz0jtQFdACiQdiYchh1k3uPrvKjGb/6XrpbaSe23RfWyFYUgIxEEi"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:35.957677' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:44:35.958858' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:35 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Completed 500 Internal Server Error in 10ms [1m[35m (6.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:44:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$yNJkM9qmwcysTu9a1RQfm.J/Hyk2TMkyzk.w1Mo/DSYDGb/jfFdy."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:44:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:44:36.015150' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.023646', "current_sign_in_at" = '2012-02-14 16:44:36.023646', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.024334' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:44:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$LhRP3Gzgiwh6dR/4dmdb7OqrqIJywKqbkkdT.1P2KcuLavMFMjW/W"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:44:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 8ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_at" = '2012-02-14 16:44:36.168374', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:44:36.168982' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:44:36 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:45:11', '2012-02-14 16:45:11', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:45:11 UTC", "updated_at"=>"2012-02-14 16:45:11 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.3ms) Completed 500 Internal Server Error in 60ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8xrqHjKXXtREqpNtjAS6' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '8xrqHjKXXtREqpNtjAS6', "reset_password_sent_at" = '2012-02-14 16:45:11.687035', "updated_at" = '2012-02-14 16:45:11.687736' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:45:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8f97b86c1_77463fe81e034d3c632f6@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 85ms (ActiveRecord: 0.0ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Completed 500 Internal Server Error in 8ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$pwJT6S7zyD7VvGMrl5Y/duX5JIfza4mJDaBbrWo2OW7gmTy8G.eb6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.856147' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:45:11.857331' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Completed 500 Internal Server Error in 11ms [1m[35m (5.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$pSoLRQX7HkM.EqNiRn8a0elqzjFWAFG/i5etvSoKqXoW1jVUM7cnS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:45:11.915004' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:11.925029', "current_sign_in_at" = '2012-02-14 16:45:11.925029', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:11.925709' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OWwngWgiaELdy0FqkvPr4eDBCtUdN5O5KsOi286xILTCufUkHa1fG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:45:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Completed 500 Internal Server Error in 6ms [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:11 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_at" = '2012-02-14 16:45:12.074843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:45:12.075515' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:45:12 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 16:46:31', '2012-02-14 16:46:31', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 16:46:31 UTC", "updated_at"=>"2012-02-14 16:46:31 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 58ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.8ms) Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ciY7FhskrtwixbcuFgic' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ciY7FhskrtwixbcuFgic', "reset_password_sent_at" = '2012-02-14 16:46:31.816725', "updated_at" = '2012-02-14 16:46:31.817411' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 14 Feb 2012 11:46:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3a8fe7d827c_77583fc889034d3c330b3@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 88ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$iGLtWMEkQEqo6/al7Mxx/./YAI8EVUhqp4JwI4ip4fyKVsFjzJ8fq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:46:31 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:31.992747' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 16:46:31.993905' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZpQcfsQ6Fs/gUajWrbabPe6t.KZheVsithOpEdltFFoRDbNvHcgpO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:46:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 16:46:32.043815' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.052071', "current_sign_in_at" = '2012-02-14 16:46:32.052071', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.052511' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 16:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GiwmGUKW6gHOVLP5Jq.ODefw01U.TYDaIpEAhAIkwwB.JFEI3a6Pa"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 16:46:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 34ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_at" = '2012-02-14 16:46:32.228209', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 16:46:32.228813' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (7.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 11:46:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (30.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 864673665, 201799169)[0m [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 18:12:41', '2012-02-14 18:12:41', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:12:41 UTC", "updated_at"=>"2012-02-14 18:12:41 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (19.5ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:12:42 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 291ms (ActiveRecord: 20.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.0ms) Completed 200 OK in 228ms (Views: 226.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KEA6RYDKr6s4k4hkJ9bu', "reset_password_sent_at" = '2012-02-14 18:12:42.654156', "updated_at" = '2012-02-14 18:12:42.654981' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (44ms) Date: Tue, 14 Feb 2012 13:12:42 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3aa41ac2c62_7da43fd608434d38957d9@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 263ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.1ms) Completed 200 OK in 66ms (Views: 65.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZBZpXtKXGwm9jHTESbXmg.6z6MruEdDTBn7wWjwNTl0Vyv5DV1lMW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.156834' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:12:43.158436' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2SYqKGsfq8Cw8DKcOb4vqOyKbLqQqy.Fj9daR.VWyH0BDHoo8f9oe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:12:43.282015' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.290419', "current_sign_in_at" = '2012-02-14 18:12:43.290419', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.290882' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nzAcDNmoU0b.Q2IuLc6ia.eAumXlz5xX.FB7fpyglX9VOx5MMVhSG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:12:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_at" = '2012-02-14 18:12:43.487069', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:12:43.488058' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 90ms (Views: 0.4ms | ActiveRecord: 1.2ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:12:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (19.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-14 18:24:17', '2012-02-14 18:24:17', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-14 18:24:17 UTC", "updated_at"=>"2012-02-14 18:24:17 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Feb 2012 18:24:17 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 192ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 219ms (Views: 217.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3nc74dsUPjfTT46XB3ds' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '3nc74dsUPjfTT46XB3ds', "reset_password_sent_at" = '2012-02-14 18:24:17.874751', "updated_at" = '2012-02-14 18:24:17.875777' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (26ms) Date: Tue, 14 Feb 2012 13:24:18 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3aa6d248b0_7e673fd530c34d40344f2@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 217ms (ActiveRecord: 0.0ms) [1m[36m (48.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.9ms) Completed 200 OK in 139ms (Views: 137.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$0if/oeezZVC04zNMQbGV6Oq6ZkFduAs2C8J9H.TQX...nBxAuGRaS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (38.0ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.442045' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-14 18:24:18.481711' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 27ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$V6PyVue0DMxS60RlfzO39O5AlD.nv/0z3zc8ghbczSGLJV75gOyIK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-14 18:24:18.572809' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.582056', "current_sign_in_at" = '2012-02-14 18:24:18.582056', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.582509' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Gj5frd6ar5g5Huisfr8WU.lXJy2vzen0YRWu/fjZ4UDHICplwT9.m"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Feb 2012 18:24:18 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_at" = '2012-02-14 18:24:18.785205', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-14 18:24:18.785854' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (41.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-14 13:24:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (29.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-15 17:52:36', '2012-02-15 17:52:36', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-15 17:52:36 UTC", "updated_at"=>"2012-02-15 17:52:36 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (17.5ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Feb 2012 17:52:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 15 Feb 2012 17:52:36 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 259ms (ActiveRecord: 18.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 208ms (Views: 205.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JkK66bQZGcSYkBUgzF1J' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'JkK66bQZGcSYkBUgzF1J', "reset_password_sent_at" = '2012-02-15 17:52:37.176194', "updated_at" = '2012-02-15 17:52:37.177184' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (41ms) Date: Wed, 15 Feb 2012 12:52:37 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3bf0e54e001_cddd3fe445034d3c405f2@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 228ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.8ms) Completed 200 OK in 66ms (Views: 65.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$P4RUXnjZWFPpqJ6yw6UTzu8cNqB3nImNMyRCZIOTqpuSBYc2Rvvzq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.625862' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-15 17:52:37.627142' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 30ms Started GET "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 32ms (Views: 30.5ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9hpY9eUOdAbR.xVSQ.tPP.494pIo5z3JdAcIrbdG4QAe4TyHby2fO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-15 17:52:37.744221' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-15 17:52:37.752929', "current_sign_in_at" = '2012-02-15 17:52:37.752929', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-15 17:52:37.753348' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iAufeHwIo41/YZOj2Wyp3ubfbAe8m.FAd0yIcpEpzLeqXiu4yea/G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Feb 2012 17:52:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-15 17:52:37.939959', "current_sign_in_at" = '2012-02-15 17:52:37.939959', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-15 17:52:37.940577' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-15 12:52:37 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (51.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-16 20:09:06', '2012-02-16 20:09:06', 349534908) [1m[36m (38.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-16 20:09:06 UTC", "updated_at"=>"2012-02-16 20:09:06 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (12.4ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (9.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Feb 2012 20:09:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Feb 2012 20:09:07 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 213ms (ActiveRecord: 22.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (3.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (7.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 303ms (Views: 300.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ypRpWFAYHUSTGjhtreSh' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ypRpWFAYHUSTGjhtreSh', "reset_password_sent_at" = '2012-02-16 20:09:07.804893', "updated_at" = '2012-02-16 20:09:07.805928' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (101ms) Date: Thu, 16 Feb 2012 15:09:08 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3d626413fbb_12e9c3ff701434d3c47895@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 422ms (ActiveRecord: 0.0ms) [1m[36m (16.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (54.9ms) Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/5bTuSYy1gnJGSBSWBfxs.hs0QPWax7MpVqCSAnU1QFdqTgIbUUaW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.645981' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-16 20:09:08.647704' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 47ms Started GET "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$DDN5oWULqqEEM569tV9w4OiEHSKccmaj/wbsTnq0nbWVwmjjY83.u"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-16 20:09:08.832703' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-16 20:09:08.844639', "current_sign_in_at" = '2012-02-16 20:09:08.844639', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-16 20:09:08.845430' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$XyeJ4hy4zcJ88tIwSY8.0uFRYIAAl21f20XezP8EjmFX4zVXgpGV."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Feb 2012 20:09:08 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 43ms (Views: 42.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-16 15:09:08 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-16 20:09:09.059367', "current_sign_in_at" = '2012-02-16 20:09:09.059367', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-16 20:09:09.060179' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-16 15:09:09 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (28.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-02-17 14:58:32', '2012-02-17 14:58:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-02-17 14:58:33', '2012-02-17 14:58:33', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-02-17 14:58:32 UTC", "updated_at"=>"2012-02-17 14:58:32 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 17 Feb 2012 14:58:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 17 Feb 2012 14:58:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 327ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (8.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (8.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 334ms (Views: 332.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'f9qYVwDkx6gFfaWD2sJ6' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'f9qYVwDkx6gFfaWD2sJ6', "reset_password_sent_at" = '2012-02-17 14:58:33.971349', "updated_at" = '2012-02-17 14:58:33.972211' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (58ms) Date: Fri, 17 Feb 2012 09:58:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f3e6b1a1237f_16af53fcaf9c34d40555a6@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 252ms (ActiveRecord: 0.0ms) [1m[36m (11.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.7ms) Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Of9.GFjhZ43mf5l40b5wveLiiODmNU0V9WS7BSNN89qrHBiJuc.7a"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.495545' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-02-17 14:58:34.496850' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms) [1m[35m (260.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$OMDiersB1bfkK2Oai9PKFu3x07BQG3bsPhGG8AUneqtEpQcVn330."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-02-17 14:58:34.836887' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-17 14:58:34.845129', "current_sign_in_at" = '2012-02-17 14:58:34.845129', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-17 14:58:34.845715' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 52ms (Views: 50.9ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HgG/R2W6jfZOw/IqxvBv9e485Nncls4VgQ/9pOdUhDuHCQPd7f.uq"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 17 Feb 2012 14:58:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) [1m[36m (3.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-17 09:58:34 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-02-17 14:58:35.041186', "current_sign_in_at" = '2012-02-17 14:58:35.041186', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-02-17 14:58:35.041821' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (125.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-02-17 09:58:35 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (51.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (17.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 864673665, 201799169)[0m [1m[35mFixture Delete (216.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-03-02 18:17:16', '2012-03-02 18:17:16', 349534908) [1m[36m (329.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.4ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-03-02 18:17:16 UTC", "updated_at"=>"2012-03-02 18:17:16 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (28.3ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Mar 2012 18:17:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 02 Mar 2012 18:17:18 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 325ms (ActiveRecord: 29.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (84.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (17.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 238ms (Views: 235.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2sa8k7xBTb68mZktuWAs' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '2sa8k7xBTb68mZktuWAs', "reset_password_sent_at" = '2012-03-02 18:17:18.652361', "updated_at" = '2012-03-02 18:17:18.653208' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (674ms) Date: Fri, 02 Mar 2012 13:17:19 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f510eaf34206_fa623fc8dd034d389692@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 1007ms (ActiveRecord: 0.0ms) [1m[36m (184.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.0ms) Completed 200 OK in 121ms (Views: 120.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$K8ACEEsTDRpWtwsyrd38xOgrQ4LBZLFCThEFXd9cvJ7cskMmu18S2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.073506' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-03-02 18:17:20.074771' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 57ms Started GET "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 51ms (Views: 49.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$aInD5/w/hHVOSCKpXZIQxekWVETSPjWR4JS0YRpqUFfAVXlRjPqe."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-03-02 18:17:20.213124' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-03-02 18:17:20.224596', "current_sign_in_at" = '2012-03-02 18:17:20.224596', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-02 18:17:20.225718' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 12ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SAXkHu8..E1RgMS.r7JyiOf8c.b86SH/6mubbhttMEy3CmKaYimwq"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 02 Mar 2012 18:17:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-03-02 18:17:20.394682', "current_sign_in_at" = '2012-03-02 18:17:20.394682', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-02 18:17:20.395343' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (8.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-03-02 13:17:20 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 87ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (40.0ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 864673665, 201799169)[0m [1m[35mFixture Delete (7.9ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-04-03 15:01:44', '2012-04-03 15:01:44', 349534908) [1m[36m (2.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-04-03 15:01:44 UTC", "updated_at"=>"2012-04-03 15:01:44 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (25.8ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 03 Apr 2012 15:01:44 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 03 Apr 2012 15:01:44 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 68ms (ActiveRecord: 26.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (1.9ms) Completed 200 OK in 118ms (Views: 115.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'HCztKyynhydWD1zoZQQA' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'HCztKyynhydWD1zoZQQA', "reset_password_sent_at" = '2012-04-03 15:01:45.042791', "updated_at" = '2012-04-03 15:01:45.043635' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (48ms) Date: Tue, 03 Apr 2012 11:01:45 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f7b10d924c49_11c8e3fd565c34cd49076d@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 177ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$JvjDtt/7dfPA5/50mVGDPuccYxJPk22lYYREsMn6sHXsmwS5k0Q9K"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-04-03 15:01:45.387727' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-04-03 15:01:45.389144' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 86ms Started GET "/users/login" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$mXvL66ZepGN882mnUkEZUumbtzbePZFa/JWAKA3uVkedvdoXkCjNa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-04-03 15:01:45.609963' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-04-03 15:01:45.702857', "current_sign_in_at" = '2012-04-03 15:01:45.702857', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-04-03 15:01:45.703404' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 89ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.1ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$3CpdOI4T3jEU8lrNqztasOJsJBwZ0iyZ7wV4hTBbS9AAIB3j9tFx."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 03 Apr 2012 15:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 83ms Started GET "/users/login" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_message.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-04-03 11:01:45 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-04-03 15:01:46.026517', "current_sign_in_at" = '2012-04-03 15:01:46.026517', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-04-03 15:01:46.027136' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 90ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-04-03 11:01:46 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-04-26 14:15:54', '2012-04-26 14:15:54', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-04-26 14:15:54 UTC", "updated_at"=>"2012-04-26 14:15:54 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (9.7ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 26 Apr 2012 14:15:54 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 26 Apr 2012 14:15:54 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 100ms (ActiveRecord: 10.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 126ms (Views: 124.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'TK7SSGUQ3Sc6Fh18PDxC' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'TK7SSGUQ3Sc6Fh18PDxC', "reset_password_sent_at" = '2012-04-26 14:15:55.100249', "updated_at" = '2012-04-26 14:15:55.100953' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (38ms) Date: Thu, 26 Apr 2012 10:15:55 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4f99589b3bc70_11ccf3fcec1034ce0232e9@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 165ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$BAKPsSPfsM1xkTSXqPUn9.tJ3mvVWp0u2vj26vA2yronHAYmJgVeC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-04-26 14:15:55.393001' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-04-26 14:15:55.394167' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 25ms Started GET "/users/login" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tH0q.jmXUEULoZEWabuDFeP7e.qyZ5BZQgKQ/k7Rb1xDcW5AUCIKO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-04-26 14:15:55.465189' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-04-26 14:15:55.474301', "current_sign_in_at" = '2012-04-26 14:15:55.474301', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-04-26 14:15:55.474753' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.1ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$O/nyGzJfBEXxeBPJ8o/R3e2/X/J29gXKW0A8QUSTfhoWxdlx8hLCG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 26 Apr 2012 14:15:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-04-26 14:15:55.662341', "current_sign_in_at" = '2012-04-26 14:15:55.662341', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-04-26 14:15:55.662962' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-04-26 10:15:55 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 19:35:09', '2012-05-03 19:35:09', 349534908) [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 19:35:09 UTC", "updated_at"=>"2012-05-03 19:35:09 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 19:35:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 19:35:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 40ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 183ms (Views: 180.0ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SezAkuRXebfHNm7zHWUJ' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'SezAkuRXebfHNm7zHWUJ', "reset_password_sent_at" = '2012-05-03 19:35:09.621404', "updated_at" = '2012-05-03 19:35:09.622120' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (110ms) Date: Thu, 03 May 2012 15:35:09 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa2ddede3081_167653fdf8c434cd858694@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 387ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 19:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$m2Jz3WDbf.Pk1v.ADMBGZOrKIxkKB73mB8bgJoumJY8PflPzCjKsG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 19:35:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 19:35:10.188043' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 19:35:10.189665' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 16ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 19:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$njxAEam9I9XmAHRfu20Dnu60K/mU0SzlhhJBLxL6pFjqI9KVMK0.W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 19:35:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 19:35:10.279878' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 19:35:10.289094', "current_sign_in_at" = '2012-05-03 19:35:10.289094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 19:35:10.289525' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 19:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$8UdeEWPIeBtVJAGmjaW6beEden2Eo5ByVejr5xHUp4lMzzR8F41PG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 19:35:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 19:35:10.464536', "current_sign_in_at" = '2012-05-03 19:35:10.464536', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 19:35:10.465206' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (35.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 15:35:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:03:57', '2012-05-03 20:03:57', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:03:57 UTC", "updated_at"=>"2012-05-03 20:03:57 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:03:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:03:57 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 83ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 170ms (Views: 167.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'PwerGqMZnNq95MSabnFz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'PwerGqMZnNq95MSabnFz', "reset_password_sent_at" = '2012-05-03 20:03:58.182431', "updated_at" = '2012-05-03 20:03:58.183428' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (101ms) Date: Thu, 03 May 2012 16:03:58 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa2e4ae654da_169363fc025034ce06861f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 334ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:03:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Ba2Z6zZZ9g35IxLcNoB8X.7tnBkspXXmOFE9wjP8m3avzheHdQpNu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:03:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:03:58.704044' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:03:58.705786' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:03:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$sfwCPbfLGH33fggIhHIBCuoieD3kGqBSXV5tyCaWDYyWH0x.kSfuq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:03:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:03:58.781615' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:03:58.790466', "current_sign_in_at" = '2012-05-03 20:03:58.790466', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:03:58.790890' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.1ms) [1m[35m (19.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:03:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$eTuqWbTFiyUBkefT8rAM6e8zxIl3PwdJ3mPTqegsCsnq3EOVrP.Hy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:03:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by Contour::SessionsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:03:58 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (7.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:03:58.969619', "current_sign_in_at" = '2012-05-03 20:03:58.969619', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:03:58.970512' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 94ms (Views: 0.3ms | ActiveRecord: 7.8ms) [1m[36m (14.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:03:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 117ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (8.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:19:03', '2012-05-03 20:19:03', 349534908) [1m[36m (53.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:19:03 UTC", "updated_at"=>"2012-05-03 20:19:03 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:19:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:19:03 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 74ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (29.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (29.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'uv8FMiefczqBVsTSSD79' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'uv8FMiefczqBVsTSSD79', "reset_password_sent_at" = '2012-05-03 20:19:03.998623', "updated_at" = '2012-05-03 20:19:03.999474' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (53ms) Date: Thu, 03 May 2012 16:19:04 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa2e838292be_16b193ff9e1034ce02447b@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 224ms (ActiveRecord: 0.0ms) [1m[36m (7.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /usr/local/rvm/gems/ruby-1.9.3-p125/gems/devise-2.0.4/app/views/devise/_links.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms) Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$iC3dvAM2v0neWPVISI2RsuyCK9UlFoN9nrlQqaGUu8SjX5HFz3plK"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:19:04 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (67.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:19:04.390709' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:19:04.459983' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 49ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms) Completed 200 OK in 39ms (Views: 37.8ms | ActiveRecord: 0.0ms) [1m[35m (44.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RNvSWHiVKyqJG3lo47Dj.uhpw2c3PsLcmk910SqbZuME.fHb6/WN6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:19:04 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:19:04.632796' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:19:04.643039', "current_sign_in_at" = '2012-05-03 20:19:04.643039', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:19:04.643655' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ap68TgGs46Gn2TfdTedeF.pGbb4Qo7MU.OrUCIZOlsSZ4j91jJP.y"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:19:04 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms) [1m[36m (14.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (9.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:19:04.830231', "current_sign_in_at" = '2012-05-03 20:19:04.830231', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:19:04.873149' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 142ms (Views: 0.3ms | ActiveRecord: 9.8ms) [1m[36m (9.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:19:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 85ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-03 20:42:12', '2012-05-03 20:42:12', 349534908) [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-03 20:42:12 UTC", "updated_at"=>"2012-05-03 20:42:12 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 23ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ASDt3XhBWrsRx1yi7MZG' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ASDt3XhBWrsRx1yi7MZG', "reset_password_sent_at" = '2012-05-03 20:42:13.187256', "updated_at" = '2012-05-03 20:42:13.188017' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (45ms) Date: Thu, 03 May 2012 16:42:13 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa2eda53e20c_16c9f3fcb40834cd0707c@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 118ms (ActiveRecord: 0.0ms) [1m[36m (5.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$O55HB5H5VdakyE7O4h1M0uLccai8Ib2D7mFrM4euUS6qloS2X.VO."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:42:13 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:42:13.417786' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-03 20:42:13.419541' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.0ms) [1m[35m (20.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9UXN2iLsv9ZNwkJ2N6/htOy6F3XnGgiuAUz8hw6Oeq2vJVF7sk8Jq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:42:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (25.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-03 20:42:13.505523' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:42:13.540482', "current_sign_in_at" = '2012-05-03 20:42:13.540482', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:42:13.540895' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 May 2012 20:42:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.Re4Re4S.U.wVc.L3a4D8Oa9iD8zmJii.4LsM5GhskJGyxMKjlYQi"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 May 2012 20:42:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-03 20:42:13.731666', "current_sign_in_at" = '2012-05-03 20:42:13.731666', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-03 20:42:13.732296' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 114ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-03 16:42:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-04 13:57:42', '2012-05-04 13:57:42', 349534908) [1m[36m (2.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-04 13:57:42 UTC", "updated_at"=>"2012-05-04 13:57:42 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 13:57:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 04 May 2012 13:57:42 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 23ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 28ms (Views: 25.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SDPJSCGSB362kFxkqUVF' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'SDPJSCGSB362kFxkqUVF', "reset_password_sent_at" = '2012-05-04 13:57:42.354476', "updated_at" = '2012-05-04 13:57:42.355172' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47ms) Date: Fri, 04 May 2012 09:57:42 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa3e0567e3b9_28f73fd555434cd82622c@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 184ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 04 May 2012 13:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$GLtaJeJWFdR0COXhWWe7jeGk5l19Dwc/u6C1g5gIXDl1DpJ0w51.O"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 13:57:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 13:57:42.625892' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-04 13:57:42.627132' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 31ms Started GET "/users/login" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 13:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ROfA6FOgP/VpD548Duvi0uVHN45QV5mysVicb2E0W1DvD4fMivnIO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 13:57:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 13:57:42.703211' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 13:57:42.711399', "current_sign_in_at" = '2012-05-04 13:57:42.711399', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 13:57:42.711882' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 13:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Z4pHpgs9Q/7KbRqzLYqajO2chXQ4SsSMt9bJ1sKiybb2rx7Z3VA6q"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 13:57:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 13:57:42.884645', "current_sign_in_at" = '2012-05-04 13:57:42.884645', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 13:57:42.885270' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (5.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 09:57:42 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-04 16:57:41 UTC", "updated_at"=>"2012-05-04 16:57:41 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kNy6yPxUyyVtAcmM8ppy' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kNy6yPxUyyVtAcmM8ppy', "reset_password_sent_at" = '2012-05-04 16:57:41.553736', "updated_at" = '2012-05-04 16:57:41.554570' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (43ms) Date: Fri, 04 May 2012 12:57:41 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa40a85a3494_36873fc1f9834cd045750@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 162ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.0ms) Completed 200 OK in 28ms (Views: 27.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qs6NbMtDxDq5czR87fR2veWmhZXsT3o/5.qExueiiusFEGG2lnPhW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.795482' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-04 16:57:41.796642' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JpvtnIZLbQM6uG7t9IAW4e9..Ey8eis.rf5hEsJPNWBMwzqz/mS9K"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.852025' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 16:57:41.862957', "current_sign_in_at" = '2012-05-04 16:57:41.862957', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 16:57:41.863488' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$gvRPW56nqtWFpLbLJke/0uwX.AYySLwJoHinvRiBX0TxFd7XlUcFy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (32.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 12:57:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 16:57:42.047531', "current_sign_in_at" = '2012-05-04 16:57:42.047531', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 16:57:42.048193' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 12:57:42 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 349534908) [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-07 14:20:50 UTC", "updated_at"=>"2012-05-07 14:20:50 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:20:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 07 May 2012 14:20:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 63ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (11.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WowfqQHZcC8UHto28tki' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'WowfqQHZcC8UHto28tki', "reset_password_sent_at" = '2012-05-07 14:20:50.920292', "updated_at" = '2012-05-07 14:20:50.921004' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (16ms) Date: Mon, 07 May 2012 10:20:51 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa7da438e8a_11dab3ff2f4434cd08769f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 136ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.8ms) Completed 200 OK in 46ms (Views: 45.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$eoagyYqfyrdiyAGyvezPSuX2ZiLdd7adZrdrDyGUXEhe1nWTny6z."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.162215' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:20:51.163492' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (30.5ms) Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nzkwEjYmccC9EGFMo0Tn2Op5/g02IsZIQI1ugyodKgpULmXv7vGzW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.243576' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:20:51.252515', "current_sign_in_at" = '2012-05-07 14:20:51.252515', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:20:51.253283' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$xK.os2DOoGgZb5L/TYYFs.axZS.cn9/jxU89X78qlB2.FUWN0osPy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:20:51.421301', "current_sign_in_at" = '2012-05-07 14:20:51.421301', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:20:51.421955' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:20:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-07 14:27:59 UTC", "updated_at"=>"2012-05-07 14:27:59 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DaEE7vAyZ6f9GWLkyhk5' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'DaEE7vAyZ6f9GWLkyhk5', "reset_password_sent_at" = '2012-05-07 14:27:59.387474', "updated_at" = '2012-05-07 14:27:59.388190' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Mon, 07 May 2012 10:27:59 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fa7dbef74ed4_11e3c3ff6d0834cd883947@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 111ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.3ms) Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$IxgevgRdU60.GdIKreGrxuWxc6AGYGfle0sMvFMjL5sUNBFWHxYLm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.585710' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:27:59.586867' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (30.3ms) Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$UpBAPb84ox9LOMCJNS1KguvyRORwwi8khtyZr0EAzYJVvjuclO/aa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.665782' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:27:59.673894', "current_sign_in_at" = '2012-05-07 14:27:59.673894', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:27:59.674348' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.1ms) [1m[35m (6.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$A4Mk4RuDZ1PbLHIpuzFSgOXIi8mOOC.UIZrAa9PJZl4UucmcJBvEe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:27:59.840204', "current_sign_in_at" = '2012-05-07 14:27:59.840204', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:27:59.840817' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:27:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 14:27:47', '2012-05-09 14:27:47', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 14:27:47 UTC", "updated_at"=>"2012-05-09 14:27:47 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:27:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 14:27:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 26ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 57ms (Views: 55.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qokKjzd3NAAL8YWZpaaM' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'qokKjzd3NAAL8YWZpaaM', "reset_password_sent_at" = '2012-05-09 14:27:47.725801', "updated_at" = '2012-05-09 14:27:47.726909' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (41ms) Date: Wed, 09 May 2012 10:27:47 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4faa7ee3d4455_446d3fd8c6034ce059815@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 193ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:47 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$ZyIG60Zeahxgq6BMnqWZROtsyDqMyZIhZBIuTYHiXo8Et5T7wgs6q"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:27:48.052716' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 14:27:48.053872' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 113ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[35m (9.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$Aq9YvfUmziziJ16cEEVfhembaE6hpa/ZT.A2F8jjI1dFn8NFWX9iC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:27:48.300519' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:27:48.383796', "current_sign_in_at" = '2012-05-09 14:27:48.383796', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:27:48.384311' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 82ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$hSBRnC/RO.I4m5BZRsxUg.l0nC158bhRvmpzekCq6im.V3Wjf1cwa"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:27:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 83ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (57.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:27:48.745381', "current_sign_in_at" = '2012-05-09 14:27:48.745381', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:27:48.745994' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:27:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (12.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 14:56:49', '2012-05-09 14:56:49', 349534908) [1m[36m (72.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 14:56:49 UTC", "updated_at"=>"2012-05-09 14:56:49 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (17.3ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:56:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 14:56:49 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 211ms (ActiveRecord: 17.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (25.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (10.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 16ms (ActiveRecord: 10.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (19.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (8.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 148ms (Views: 145.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '3LW3YZfb5nJbhn4ujWqE' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '3LW3YZfb5nJbhn4ujWqE', "reset_password_sent_at" = '2012-05-09 14:56:50.104835', "updated_at" = '2012-05-09 14:56:50.105751' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (26ms) Date: Wed, 09 May 2012 10:56:50 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4faa85b244447_47c33ff765834cd4545ad@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 251ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 14:56:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$uGSzJWRRuAJtV0mTHVrrwu.mXG1dBGc5FJL5el34oIV3lLh04AwaK"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:56:50.541745' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 14:56:50.543448' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 124ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:56:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$6oywXtYdhtrutSnk/HwKA.EGdy1BrZakQkhxyichye0o46D50HHqm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 14:56:50.806576' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:56:50.897622', "current_sign_in_at" = '2012-05-09 14:56:50.897622', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:56:50.898412' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 89ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 10:56:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 14:56:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$lVBJCCrNR2jowBRwEDKYIevwC1pIDQ0TDLw6n60Ypih51mDGspw0G"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 14:56:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-09 10:56:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 84ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 10:56:51 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) [1m[36m (35.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-09 10:56:51 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:56:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 14:56:51.255408', "current_sign_in_at" = '2012-05-09 14:56:51.255408', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 14:56:51.256059' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 10:56:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 15:02:35', '2012-05-09 15:02:35', 349534908) [1m[36m (28.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 15:02:35 UTC", "updated_at"=>"2012-05-09 15:02:35 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 59ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LxCXfQQrFyYokU8C7Fer' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LxCXfQQrFyYokU8C7Fer', "reset_password_sent_at" = '2012-05-09 15:02:36.234878', "updated_at" = '2012-05-09 15:02:36.235869' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (22ms) Date: Wed, 09 May 2012 11:02:36 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4faa870c55fc8_48233fe6e5c34cd478eb@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 176ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$8MEOA.YIVgbBXGg2e0CsGeD1W/JKtLrNdbkxYHNWMmdWIfm9RqzCe"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 15:02:36.565228' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 15:02:36.566933' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 121ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 15:02:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$F8YA7LkQ6cPg2N0lLxmRn.0c6BJZc8sdKQYQ7xea9PvgVKhDX2LNC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 15:02:36.822592' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 15:02:36.910937', "current_sign_in_at" = '2012-05-09 15:02:36.910937', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 15:02:36.911547' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 87ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) [1m[35m (57.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 11:02:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 15:02:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$KMSTEPcFRaR4L3PPRrGTFejair/GEtd4R8NN3IsD1vCr6llFz2wHS"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 15:02:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-09 11:02:37 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 84ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 11:02:37 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-09 11:02:37 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 11:02:37 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 15:02:37.291157', "current_sign_in_at" = '2012-05-09 15:02:37.291157', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 15:02:37.291852' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 11:02:37 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 16:09:08', '2012-05-09 16:09:08', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 16:09:08 UTC", "updated_at"=>"2012-05-09 16:09:08 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 88ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'paxo6u4jbsqRMbiEsQTS' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'paxo6u4jbsqRMbiEsQTS', "reset_password_sent_at" = '2012-05-09 16:09:09.247850', "updated_at" = '2012-05-09 16:09:09.248577' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (24ms) Date: Wed, 09 May 2012 12:09:09 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4faa96a55cc64_4bda3fe9d5c34cdc5928@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 208ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$YWyLwEuO11opXBwXVFsLtuvtp2VM9KO9WBvKBV4ucuuDDYyHzr1a."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:09:09.609752' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 16:09:09.611608' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 119ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:09:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$7mwVn2YOEyIRN32FNQt6ie/CEIh5ztYAcTsB13yYy8CQZXHBBCGhS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:09:09.872569' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:09:09.965712', "current_sign_in_at" = '2012-05-09 16:09:09.965712', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:09:09.966423' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 90ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (5.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:09:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:09:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$/ZmMEHTlp.8RU74mrb3J5ON6a4s5pXq5jvoCMDJhWiWheoJSnIe3u"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:09:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:09:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 85ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:09:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-09 12:09:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:09:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:09:10.300241', "current_sign_in_at" = '2012-05-09 16:09:10.300241', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:09:10.301093' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:09:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-09 16:18:53', '2012-05-09 16:18:53', 349534908) [1m[36m (27.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-09 16:18:53 UTC", "updated_at"=>"2012-05-09 16:18:53 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'vQmqrMyup3g1EQNAsXuY' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'vQmqrMyup3g1EQNAsXuY', "reset_password_sent_at" = '2012-05-09 16:18:53.707021', "updated_at" = '2012-05-09 16:18:53.707692' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Wed, 09 May 2012 12:18:53 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4faa98edbdc56_4c803fe6cd434ce0276fc@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 118ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 May 2012 16:18:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$10$BllEVj2azSL2DtNCHb7X2eViPuponvtnk0NDuoOd41cVlHnuuSZye"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:18:53.958781' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-09 16:18:53.959953' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 111ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[35m (18.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:18:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$10$xaO5BKQUNoZKQo/u3CnOouWdbC8oGPWMhdCXBqQigMxTO7yILj2iq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-09 16:18:54.213312' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:18:54.302124', "current_sign_in_at" = '2012-05-09 16:18:54.302124', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:18:54.302648' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 86ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms) [1m[35m (64.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 09 May 2012 16:18:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$10$wQgtT1egXH/IhQ8oyifxe.f0g1U3HLO3mgUgMfAWaTJXhKXEVln86"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 09 May 2012 16:18:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 83ms Started GET "/users/login" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-09 16:18:54.672854', "current_sign_in_at" = '2012-05-09 16:18:54.672854', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-09 16:18:54.673490' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-09 12:18:54 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 86ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:16:15', '2012-05-11 13:16:15', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:16:15 UTC", "updated_at"=>"2012-05-11 13:16:15 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:16:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:16:15 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'MpNxNWgeDCKpKwoiEyNJ' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'MpNxNWgeDCKpKwoiEyNJ', "reset_password_sent_at" = '2012-05-11 13:16:15.860360', "updated_at" = '2012-05-11 13:16:15.861064' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14ms) Date: Fri, 11 May 2012 09:16:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fad111fe3659_28533fd315034cd84244f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 90ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.2ms) Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TnL6srMEv3Z2/nz99o8MbeDso7u2CLTaGNWBb2GdMq181xMKpa.di"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:16:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:16:16.051859' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:16:16.053031' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tmceR06fFliku9ScYyjnTuBofA74MShAcnnWaAygyf70VoPHMv0ui"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:16:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:16:16.135111' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:16:16.143592', "current_sign_in_at" = '2012-05-11 13:16:16.143592', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:16:16.144085' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:16:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$zwFgJ06MTbsHkDR.1/VIju/pSe2Awgkj7LhC/Hzj0Htx7wgMqi2Wu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:16:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:16:16.300818', "current_sign_in_at" = '2012-05-11 13:16:16.300818', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:16:16.301419' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (5.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:16:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 87ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:33:56', '2012-05-11 13:33:56', 349534908) [1m[36m (315.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:33:56 UTC", "updated_at"=>"2012-05-11 13:33:56 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 48ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WEvnJDc2DhpFsAnyxiWE' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'WEvnJDc2DhpFsAnyxiWE', "reset_password_sent_at" = '2012-05-11 13:33:57.406221', "updated_at" = '2012-05-11 13:33:57.406880' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14ms) Date: Fri, 11 May 2012 09:33:57 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fad154574d52_28883fca6e034cd870552@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 91ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (31.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.1ms) Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Snnyks2xqCaGaOF3U0/Ueut.LTHFLc6xzCMHWZIW86LI67eanBHz6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:33:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:33:57.599270' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:33:57.600444' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 40ms (Views: 39.0ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xoAcxIkP60VIWyg1xjiIAuTWIUq1o5eAVCqo96atIvjQboL7A3htq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:33:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:33:57.679478' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:33:57.687720', "current_sign_in_at" = '2012-05-11 13:33:57.687720', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:33:57.688104' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:33:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$JGChGSnl0DYd0amYO8NfN.O.caMzy4pczrfWtRlFrBNROWozDSM0a"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:33:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as JSON Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:33:57 -0400 Processing by WelcomeController#logged_in_page as JSON Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:35:10', '2012-05-11 13:35:10', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:35:10 UTC", "updated_at"=>"2012-05-11 13:35:10 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 53ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jjYz6Y1ystxJ7Brypy1K' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jjYz6Y1ystxJ7Brypy1K', "reset_password_sent_at" = '2012-05-11 13:35:10.335105', "updated_at" = '2012-05-11 13:35:10.335829' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (20ms) Date: Fri, 11 May 2012 09:35:10 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fad158e6bfdf_288d3ffb80434cdc4324f@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 129ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (42.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (45.3ms) Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/NTZ1NSkcR/O82lC2QozvuLAYj6Ms7D9Nq2sZWwIgXpnfAOTqTwXm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:10.593029' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:35:10.595116' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 58ms (Views: 56.7ms | ActiveRecord: 0.0ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xYZxKhFAX7g5ZdAq.x9Pwu0tlEv/Hvqe37pNWnWfb6QxDUr32v6wy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:10.698284' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:10.709345', "current_sign_in_at" = '2012-05-11 13:35:10.709345', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:10.709948' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$K5iLU6e/QMDIyBSkkcR5jeAdojy4vJ2EkxleBZcsqTmTwshZms2Oi"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as JSON Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:10 -0400 Processing by WelcomeController#logged_in_page as JSON Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-11 13:35:47', '2012-05-11 13:35:47', 349534908) [1m[36m (124.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-11 13:35:47 UTC", "updated_at"=>"2012-05-11 13:35:47 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '6JgDhzqpHjWBohsC5nBv' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '6JgDhzqpHjWBohsC5nBv', "reset_password_sent_at" = '2012-05-11 13:35:48.178353', "updated_at" = '2012-05-11 13:35:48.179026' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Fri, 11 May 2012 09:35:48 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fad15b43e9fd_28903fe6f5034cd0915e3@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 98ms (ActiveRecord: 0.0ms) [1m[36m (7.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.2ms) Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$f8U5.lkpZ5.hOFbayaxICekeu.WtzPWt2QLIBT2FtgWciWmz2Pime"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:48.374725' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-11 13:35:48.376142' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 40ms (Views: 38.7ms | ActiveRecord: 0.0ms) [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$AwR4duYtaKuu3X3uffDtPeAQlL.H3ypQMl2plpKOIUkno59vEZxtK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-11 13:35:48.455720' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:48.464257', "current_sign_in_at" = '2012-05-11 13:35:48.464257', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:48.464716' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 11 May 2012 13:35:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GGfxOuaCTTx6yDkXHhomv.CWoHJxEpm7FiZdttNW2vbXpemWuQo6u"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 11 May 2012 13:35:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-11 13:35:48.622203', "current_sign_in_at" = '2012-05-11 13:35:48.622203', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-11 13:35:48.622823' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-11 09:35:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-24 16:41:00', '2012-05-24 16:41:00', 349534908) [1m[36m (17.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-24 16:41:00 UTC", "updated_at"=>"2012-05-24 16:41:00 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:41:00 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 24 May 2012 16:41:00 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 98ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (23.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms) Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '42S3DyMCf2GhJi9cSG3k' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '42S3DyMCf2GhJi9cSG3k', "reset_password_sent_at" = '2012-05-24 16:41:01.091941', "updated_at" = '2012-05-24 16:41:01.092663' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (80ms) Date: Thu, 24 May 2012 12:41:01 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fbe649d49cd1_117753ff009034ce0723a7@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 256ms (ActiveRecord: 0.0ms) [1m[36m (19.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.8ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9pVyG7.j4jqvJLoQq7g19Ozgigp.WOURq4Vg4bNYCf0C9kDcnNZfO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:41:01.546421' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-24 16:41:01.548544' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 35ms Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 58ms (Views: 56.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xkTUSL6NpsVh88viHRBUxOpYTYvJLBfFURUOzSwaIwLWga5sSY3LS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:41:01.682789' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:41:01.694855', "current_sign_in_at" = '2012-05-24 16:41:01.694855', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:41:01.695372' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.1ms) [1m[35m (7.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:41:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OlDk.tQEoMdwvsk82gx0feUvk5X63BDFoXxgmh3TvZTeAFNF5AuIO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:41:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (4.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:41:01.886013', "current_sign_in_at" = '2012-05-24 16:41:01.886013', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:41:01.886739' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:41:01 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-24 16:53:38', '2012-05-24 16:53:38', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-24 16:53:38 UTC", "updated_at"=>"2012-05-24 16:53:38 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:53:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 24 May 2012 16:53:38 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'a3xwEDK4JPKxVpgi7vkn' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'a3xwEDK4JPKxVpgi7vkn', "reset_password_sent_at" = '2012-05-24 16:53:38.957721', "updated_at" = '2012-05-24 16:53:38.958398' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (18ms) Date: Thu, 24 May 2012 12:53:39 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fbe679387ae_118333ffa11434cd4422e3@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 98ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$XFhq863FDw1jN5OHtJGu7.lRKiCmInWSPNDiyLaFzH.fsyBk7K1Jm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:53:39.145589' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-24 16:53:39.146985' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$9t9tFkh4tbGhOFxPIuFRB.kD1Y8.g.0kUuD11yiK0jripD9zghwEq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-24 16:53:39.235638' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:53:39.245286', "current_sign_in_at" = '2012-05-24 16:53:39.245286', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:53:39.245716' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 24 May 2012 16:53:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iHvI3WGYymIOlLcXUyn7luLzG86bsep2BdIVZa3aWTHEzEIVG89Sy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 24 May 2012 16:53:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-24 16:53:39.398144', "current_sign_in_at" = '2012-05-24 16:53:39.398144', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-24 16:53:39.398757' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-24 12:53:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-29 19:27:52 UTC", "updated_at"=>"2012-05-29 19:27:52 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 May 2012 19:27:52 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 29 May 2012 19:27:52 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'AyCz7xrzfse9MqvAxxRf' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'AyCz7xrzfse9MqvAxxRf', "reset_password_sent_at" = '2012-05-29 19:27:52.908819', "updated_at" = '2012-05-29 19:27:52.909513' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 29 May 2012 15:27:52 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc52338f14e3_11a0c3fc1f1834cd8225f9@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 99ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9ajw8d7lGmvUDpXbuJRQ..HhiBdcQH07TT/qmaCAbxg41N3UcYCZq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:27:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:27:53.108988' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-29 19:27:53.110199' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:27:53.121124' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.0ms) Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7tp9wUEIRaKfnxalfe.YIO3ts/uMTFAUXvm1TABSvxs4lYcSqiwLG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:27:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:27:53.189706' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:27:53.198344', "current_sign_in_at" = '2012-05-29 19:27:53.198344', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:27:53.198832' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$gwAWMNQdNfC.mHAQTfBda.sA951M3o8uhmRgOkONvgRvRFrHuNNrK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:27:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:27:53.240878' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:27:53.353632', "current_sign_in_at" = '2012-05-29 19:27:53.353632', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:27:53.354292' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:27:53 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-29 19:35:39 UTC", "updated_at"=>"2012-05-29 19:35:39 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 54ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LoepoixPNWvzBCxi5y4T' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LoepoixPNWvzBCxi5y4T', "reset_password_sent_at" = '2012-05-29 19:35:39.472711', "updated_at" = '2012-05-29 19:35:39.473528' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (43ms) Date: Tue, 29 May 2012 15:35:39 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc5250b84fea_11a8c3fdefa034cd877448@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 118ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$2.RBc5WnvPRFFxzsmQqvt.y4IgidQO0X26KvvlKyrdxWPgt7YW4eq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:35:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:35:39.677286' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-29 19:35:39.679113' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:35:39.693518' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RycSWHLc0X3fDNV0J2GEjeOaz2VKuFBGIEDN4AocFqHPLmJ.E5YkC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:35:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:35:39.747343' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:35:39.757756', "current_sign_in_at" = '2012-05-29 19:35:39.757756', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:35:39.758275' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$QpM4Eu14WXrcTFB5MAX1zO4tfoGgCY44kW3/SKoExb4WcJeeLnXGe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 29 May 2012 19:35:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:35:39.813618' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:35:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:35:39.991767', "current_sign_in_at" = '2012-05-29 19:35:39.991767', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:35:39.992621' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:35:40 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (8.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 864673665, 201799169)[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 349534908) [1m[36m (9.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-31 19:00:38 UTC", "updated_at"=>"2012-05-31 19:00:38 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 19:00:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 31 May 2012 19:00:38 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 34ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 116ms (Views: 113.4ms | ActiveRecord: 0.5ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zZiQ7C4r4ofUMEJwTNqs' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zZiQ7C4r4ofUMEJwTNqs', "reset_password_sent_at" = '2012-05-31 19:00:38.770477', "updated_at" = '2012-05-31 19:00:38.771461' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (59ms) Date: Thu, 31 May 2012 15:00:38 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc7bfd6e8118_42883fe8a4434cd0308c7@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 233ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.1ms) Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Z2Ox6MuPnWpWemVcdGx3tOEblvWr9oV2hg6JV5e9qtR2sfgTmOnVW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:00:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (15.7ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:00:39.189216' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-31 19:00:39.206652' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:00:39.221609' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 11ms Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$c69PBMFRjZ1uB6OLT/KwOeSPlCfXc95Bwwdk./.Q.W7kRsXutdGIG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:00:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:00:39.309942' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:00:39.322100', "current_sign_in_at" = '2012-05-31 19:00:39.322100', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:00:39.323849' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 12ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Hqh1OkIUwAbFE8J1JNO5SOVolcCvMs3oeAq/F3CWBkM8ptpFZ1BwW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:00:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:00:39.389868' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:00:39.568148', "current_sign_in_at" = '2012-05-31 19:00:39.568148', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:00:39.569202' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 92ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[36m (13.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:00:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 88ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-31 19:09:14 UTC", "updated_at"=>"2012-05-31 19:09:14 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (26.0ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dfuTHbfTsYixy1JabNTU' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'dfuTHbfTsYixy1JabNTU', "reset_password_sent_at" = '2012-05-31 19:09:14.347772', "updated_at" = '2012-05-31 19:09:14.348530' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (42ms) Date: Thu, 31 May 2012 15:09:14 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc7c1da7b046_433c3fc649834ce0815e9@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 177ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xGeJ4g1UDvSaTQrFwzoHa.Rn2K9sxRXCkfbxmRcUcPUpg69GsS0MC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:09:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:09:14.624584' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-31 19:09:14.625854' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:09:14.636655' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YHvjeVw2t7kakZBqx0VFiek6LZemBvRSvoTRFaKyOFl5MFm8mxbi6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:09:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:09:14.676240' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:09:14.684904', "current_sign_in_at" = '2012-05-31 19:09:14.684904', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:09:14.685416' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$D.FvN0N/sZPGnBgEyh8NfuOXi/mWMnyHeD80vkiveFsSOrqcxmxce"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 31 May 2012 19:09:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:09:14.721625' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:09:14.865805', "current_sign_in_at" = '2012-05-31 19:09:14.865805', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:09:14.866487' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (10.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:09:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-01 13:26:40', '2012-06-01 13:26:40', 349534908) [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-01 13:26:40 UTC", "updated_at"=>"2012-06-01 13:26:40 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Jun 2012 13:26:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 01 Jun 2012 13:26:40 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 54ms (Views: 52.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Ne9WyB6CmqUskP2xDTeC' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'Ne9WyB6CmqUskP2xDTeC', "reset_password_sent_at" = '2012-06-01 13:26:40.869699', "updated_at" = '2012-06-01 13:26:40.870750' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (19ms) Date: Fri, 01 Jun 2012 09:26:41 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc8c311196_8a843fe231834cdc58528@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 163ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.7ms) Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$k9IFSdaRjRWxJgpP6DK2suYMxM07qCIZegN7wcnyj71iMbZIWxJ6K"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-01 13:26:41.138814' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-01 13:26:41.140173' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-01 13:26:41.151951' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.0ms) Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$/OMW17.VKh68QCWFMdxh9uCgH7pvyTgAW.elmZv0wsYVoyBmkDH0u"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-01 13:26:41.224306' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-06-01 13:26:41.233070', "current_sign_in_at" = '2012-06-01 13:26:41.233070', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-01 13:26:41.233524' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$y8sY3G6neGQ0M8hg1VyIcucWproz.efFJbWNeOqvcLvzotW94LrXK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:26:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-01 13:26:41.269182' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-01 13:26:41.380623', "current_sign_in_at" = '2012-06-01 13:26:41.380623', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-01 13:26:41.381332' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (6.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-01 09:26:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-01 13:51:33', '2012-06-01 13:51:33', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-01 13:51:33 UTC", "updated_at"=>"2012-06-01 13:51:33 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Jun 2012 13:51:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 01 Jun 2012 13:51:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 110ms (Views: 108.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'NzGLys9WervdxZMbFdYy' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'NzGLys9WervdxZMbFdYy', "reset_password_sent_at" = '2012-06-01 13:51:33.696017', "updated_at" = '2012-06-01 13:51:33.697082' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (20ms) Date: Fri, 01 Jun 2012 09:51:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fc8c8e5dc95b_d81e3ff2f1434cd8506a0@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 289ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 59ms (Views: 58.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$uVkJbAF5xD/i9O43L9D.Luo5xL1BkhspIwagDwEFe19apnsW3kyxa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-01 13:51:34.097104' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-01 13:51:34.099070' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-01 13:51:34.136954' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 33ms Started GET "/users/login" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (30.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.3ms) Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$1qKuHDxJvR9m/Zc2.pSkZ.eu83vMTvdXb9de9UBCJx8dcMObuRzeu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-01 13:51:34.235661' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-06-01 13:51:34.244659', "current_sign_in_at" = '2012-06-01 13:51:34.244659', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-01 13:51:34.245141' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.Di10074YygqCMDCyL2tbumvnRtzuYOlExAHQFzRtJbiaF1o3Ru1W"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 01 Jun 2012 13:51:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-01 13:51:34.304185' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-01 13:51:34.414361', "current_sign_in_at" = '2012-06-01 13:51:34.414361', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-01 13:51:34.415071' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-01 09:51:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (17.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-06 14:50:32', '2012-06-06 14:50:32', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-06 14:50:32 UTC", "updated_at"=>"2012-06-06 14:50:32 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 48ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 120ms (Views: 117.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8P7p89eEapBDKbE7jSUS' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = '8P7p89eEapBDKbE7jSUS', "reset_password_sent_at" = '2012-06-06 14:50:33.208446', "updated_at" = '2012-06-06 14:50:33.209175' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Wed, 06 Jun 2012 10:50:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fcf6e394d215_107373fdf02034cd07681a@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 165ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.0ms) Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$L6Li9/1BpIWodYhPwrcQ5eYqFYE.ET6JfvQwCFt98SBAuqwzeJzxa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.474727' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-06 14:50:33.475951' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.486669' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7CiXhBQnpuKsXq/0qOrr4ejpa8PHF7Jn3/xMu0aMzfT6RisDT5veC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-06 14:50:33.557010' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.568136', "current_sign_in_at" = '2012-06-06 14:50:33.568136', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.568589' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$i3/iKVIyP/Wxtm1ejZJwLOK6lsG4e6I.jADAGhuX7POfQlJv.K10m"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 06 Jun 2012 14:50:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-06-06 14:50:33.604958' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_at" = '2012-06-06 14:50:33.716679', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-06 14:50:33.717692' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-06 10:50:33 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 84ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (42.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:19:03', '2012-06-19 13:19:03', 864673665, 201799169)[0m [1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:19:04', '2012-06-19 13:19:04', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:19:03 UTC", "updated_at"=>"2012-06-19 13:19:03 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (13.7ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 77ms (ActiveRecord: 14.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 111ms (Views: 109.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zBBsJ3fnYXL1x1tXdpqF', "reset_password_sent_at" = '2012-06-19 13:19:04.413152', "updated_at" = '2012-06-19 13:19:04.414071' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (19ms) Date: Tue, 19 Jun 2012 09:19:04 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe07c488f567_129883fe479034ce036289@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 248ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.9ms) Completed 200 OK in 44ms (Views: 43.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/AOdQijf/NIPODjUh5Ox4uMPpowIw8avVZvJSqt8QfsmGQfeZuIYW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.769810' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:19:04.771094' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2LUbtVTUDD8QzKwwn9Q4muH7Zmb329PGAGkMw7gdnCPlWR8fTEsqK"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:19:04.851858' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:04.860418', "current_sign_in_at" = '2012-06-19 13:19:04.860418', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:04.861035' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$9UvPzpdwNyYANkip7RYDk.fDlihnowDKEq5B8S6sOP3MKUsBTdhD6"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:19:04 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_at" = '2012-06-19 13:19:05.017728', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:19:05.018408' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:19:05 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:20:14', '2012-06-19 13:20:14', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:20:14 UTC", "updated_at"=>"2012-06-19 13:20:14 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'DLr4Gq9rkzmpB7zHMK6y', "reset_password_sent_at" = '2012-06-19 13:20:15.133697', "updated_at" = '2012-06-19 13:20:15.134467' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14ms) Date: Tue, 19 Jun 2012 09:20:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe07c8f32032_129993fc1fe034cd85899e@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 114ms (ActiveRecord: 0.0ms) [1m[36m (8.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$pFtY75CxJKdP1ttrEP0pve/Jf92duVxckF0CIHMEY3Lya6YtmQbRC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.314886' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:20:15.316045' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 34ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$317cylIx6Q17Mo0DcSubxe2wOa9RsL36adfQ66f6OxOQB5uERq7Yq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:20:15.394916' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.403601', "current_sign_in_at" = '2012-06-19 13:20:15.403601', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.404084' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$j7G8HOE1LcausKn0L.1x0O8knedvfc/j3wTlrfhO7QLLVyuHiepqC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:20:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_at" = '2012-06-19 13:20:15.547935', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:20:15.548628' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:20:15 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:44:28', '2012-06-19 13:44:28', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:44:28 UTC", "updated_at"=>"2012-06-19 13:44:28 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 69ms (Views: 67.6ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XHWR8aMF5x523wqbrKcu' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'XHWR8aMF5x523wqbrKcu', "reset_password_sent_at" = '2012-06-19 13:44:28.636741', "updated_at" = '2012-06-19 13:44:28.637562' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (18ms) Date: Tue, 19 Jun 2012 09:44:28 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe0823cb8987_12ad83fdfa8434cd05388c@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 178ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$J0GWcvXLWqlAqK0tdykzm.FuVgfuqyTxM6I4lK7wPRiD6kKmXVLWu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.878562' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:44:28.879737' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 34ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$kTcCaIooAClNu3zkkqB10.x51zI6OX5GsGlwP4fffvfWRD5SRLfA6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:44:28.956879' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:28.965425', "current_sign_in_at" = '2012-06-19 13:44:28.965425', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:28.965979' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GdlnXDO.u2ecB/yIg7.U4uKjKNjmC3eUKml8vHyWJnAovjPr3Cd.K"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:44:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:44:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:44:29 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 09:44:29 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_at" = '2012-06-19 13:44:29.113881', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:44:29.114553' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:44:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 13:45:48', '2012-06-19 13:45:48', 349534908) [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 13:45:48 UTC", "updated_at"=>"2012-06-19 13:45:48 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'knzaTYJqiFhNnFncLEc7' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'knzaTYJqiFhNnFncLEc7', "reset_password_sent_at" = '2012-06-19 13:45:48.282135', "updated_at" = '2012-06-19 13:45:48.282849' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (17ms) Date: Tue, 19 Jun 2012 09:45:48 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe0828c57758_12aed3fe380834cdc98794@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 123ms (ActiveRecord: 0.0ms) [1m[36m (6.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$R.rF3Q1NOwMCF1RbCgrYxuGdcfV6gtBEd7wzwexT8wTD1yewFscsu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.470380' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 13:45:48.471575' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 33ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms) [1m[35m (23.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JZac.eRdBwuO9uBk9.VQh.t0Zod4t7FdqfoUe5KDV6h7HIXYJWCxG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 13:45:48.575808' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.584570', "current_sign_in_at" = '2012-06-19 13:45:48.584570', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.585040' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$kh40AJYh7JujZUlgX02QbOj7FNEOu/XOOWPCDJtdL7jkzVEGFbGkW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 13:45:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_at" = '2012-06-19 13:45:48.734610', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 13:45:48.735287' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 09:45:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 14:59:23', '2012-06-19 14:59:23', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 14:59:23 UTC", "updated_at"=>"2012-06-19 14:59:23 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 56ms (Views: 54.7ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'o3KY9oCLCgsJyQVZAuzk', "reset_password_sent_at" = '2012-06-19 14:59:23.679154', "updated_at" = '2012-06-19 14:59:23.679893' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (18ms) Date: Tue, 19 Jun 2012 10:59:23 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe093cbc4ed9_12ef13ff31e034cdc26638@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 174ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$YFfLpxLH7alaOWZ/uGxdMOPtgpWnrOUCNZaWdLz7oZDvZv1GNG3x6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:23.936801' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 14:59:23.938174' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YwWjlnAGvfOMmV2fQ31X3OASh3/hm2Qt52dAtVDR1YuHnUKDk7whu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 14:59:24.016127' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.025033', "current_sign_in_at" = '2012-06-19 14:59:24.025033', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.025555' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$t0Kb.JNkJ2JbX3GOvDrI5umkIElqoAeuwcWZMUFG8SnqYdLhZzXLC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 14:59:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_at" = '2012-06-19 14:59:24.187843', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 14:59:24.188530' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 10:59:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 17:00:47', '2012-06-19 17:00:47', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 17:00:47 UTC", "updated_at"=>"2012-06-19 17:00:47 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 17:00:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 48ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'oVXqGkcbyGjPV3pwPKt5', "reset_password_sent_at" = '2012-06-19 17:00:47.898448', "updated_at" = '2012-06-19 17:00:47.899252' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (54ms) Date: Tue, 19 Jun 2012 13:00:48 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe0b04018498_13a173fcdc1834cd4956a9@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 258ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dpKCEQwlYx1JBwwD738Iku74yiuf9fZyUsuH/57iEXKTCbNc55AyO"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.278743' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 17:00:48.280004' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 32ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nnBlRMq51Q4h0ZR8DunLWuayGAy91NtvTtXtYH0I.bnYn3ngJNVq2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 17:00:48.357182' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.365740', "current_sign_in_at" = '2012-06-19 17:00:48.365740', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.366300' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Dri3hV4GMZTkjR04fl7B5uofboutNzj83KE8ZcoCPWw5nCxNr5vUG"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 17:00:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (31.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.6ms) Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_at" = '2012-06-19 17:00:48.553356', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 17:00:48.554036' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 13:00:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 18:24:47', '2012-06-19 18:24:47', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 18:24:47 UTC", "updated_at"=>"2012-06-19 18:24:47 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 28ms (Views: 26.3ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'wzZ8JpzJY8TYAaCS2RW5', "reset_password_sent_at" = '2012-06-19 18:24:47.644005', "updated_at" = '2012-06-19 18:24:47.644735' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (60ms) Date: Tue, 19 Jun 2012 14:24:47 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe0c3efbe2ea_13fae3fdfc5834cdc40824@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 219ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$C.ox7.xUGc2UQdNTW1Bl3OdbLjoE046ubxDL5n86CPtIlZv9yk/oS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:47 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:47.915837' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 18:24:47.917052' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 41ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:47 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms) [1m[35m (4.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:47 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$b0YZUoMbLTknWYSsSM7gxurC/AnQYdtid0Vbjg0pxeF2AF4PmcKv6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 18:24:48.007010' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.015322', "current_sign_in_at" = '2012-06-19 18:24:48.015322', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.015789' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wHJMIZHE8M/eSuvIMPT.FeqxkZWXFiu30B5.qbEMMfRKcpnHu12yy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 18:24:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (32.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.9ms) Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_at" = '2012-06-19 18:24:48.213969', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 18:24:48.214665' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (44.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 14:24:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-06-19 20:41:53', '2012-06-19 20:41:53', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-06-19 20:41:53 UTC", "updated_at"=>"2012-06-19 20:41:53 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'sAzTXNkZ2xBtRhJ1GwuK', "reset_password_sent_at" = '2012-06-19 20:41:53.409013', "updated_at" = '2012-06-19 20:41:53.409814' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (50ms) Date: Tue, 19 Jun 2012 16:41:53 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4fe0e41178b76_148093ff199434cdc76642@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 154ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MPcTwJU5VLLvc0xpscWxUO0NtJ0YQceaQTEMEpHgjDCXA0fnK98y2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.665307' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-06-19 20:41:53.666830' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SYpMQcr/a1zzpGvkc3G4w.FAwf1EXpC3NtikdPAWw0JohWGRGvNCW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-06-19 20:41:53.745796' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.756633', "current_sign_in_at" = '2012-06-19 20:41:53.756633', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.757265' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Q.o9Aqvn9Jtphjye16Y0ZufSEdnIee2pcKxQuXWnvGMK4lXyhAsde"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 19 Jun 2012 20:41:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (38.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (40.8ms) Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_at" = '2012-06-19 20:41:53.969118', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-06-19 20:41:53.969842' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-06-19 16:41:53 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 19:05:54', '2012-07-11 19:05:54', 349534908) [1m[36m (66.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 19:05:54 UTC", "updated_at"=>"2012-07-11 19:05:54 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (21.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 125ms (ActiveRecord: 21.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 114ms (Views: 112.0ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'gzsEcCzruVQ6kSq7Nt7a' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'gzsEcCzruVQ6kSq7Nt7a', "reset_password_sent_at" = '2012-07-11 19:05:55.390231', "updated_at" = '2012-07-11 19:05:55.391323' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (74ms) Date: Wed, 11 Jul 2012 15:05:55 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4ffdce93a1ec3_6cf73fe2f8834cd863870@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 333ms (ActiveRecord: 0.0ms) [1m[36m (12.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$XEJ/Zk3BFXKJ40sGvc5pNeNT8v/6SRLFcjW9o2Eo8macgCiqU7BtS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:05:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:05:55.941019' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 19:05:55.943495' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 24ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:05:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms) [1m[35m (17.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:05:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$sQdXrGMOFs8dTAR3cMWFxOg1zZRvRa2GvrvqFuHyddYgJyxXKcMvq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:05:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:05:56.052706' WHERE "users"."id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:05:56.064571', "current_sign_in_at" = '2012-07-11 19:05:56.064571', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:05:56.065166' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.1ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:05:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$b3G76Qw4NyKIi83ryAGF/O7KjXI1w1i2ySioNwcKZ3GGbszzjFbtW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:05:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[36m (5.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:05:56.295144', "current_sign_in_at" = '2012-07-11 19:05:56.295144', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:05:56.295881' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (69.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:05:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 19:58:41', '2012-07-11 19:58:41', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 19:58:41 UTC", "updated_at"=>"2012-07-11 19:58:41 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 130ms (Views: 128.3ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xAy7eJV41aRiUKZJzxH4' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'xAy7eJV41aRiUKZJzxH4', "reset_password_sent_at" = '2012-07-11 19:58:41.655569', "updated_at" = '2012-07-11 19:58:41.656287' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (33ms) Date: Wed, 11 Jul 2012 15:58:41 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4ffddaf1c708f_6fba3fc224834cdc482d@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 204ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms) Completed 200 OK in 41ms (Views: 39.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$VXvns/RG7wg5vJWk1LLzEuJtiKcgZQnaFIYTydCa476vSJYwSDLIC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:58:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (26.7ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:58:41.985825' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 19:58:42.013750' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:58:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$90CVUr71YYp85.rsKbvahuxxiR1jvrASAC2nVCqDkJgFS4AaY7.Z."], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:58:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 19:58:42.065718' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:58:42.076953', "current_sign_in_at" = '2012-07-11 19:58:42.076953', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:58:42.077515' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 31ms (Views: 29.8ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 19:58:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Xv70Z2c55XIdSu0wPSykbOomlkoihgUEVUSj7BnY/WuayQF9AP4Ei"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 19:58:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 19:58:42.249950', "current_sign_in_at" = '2012-07-11 19:58:42.249950', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 19:58:42.250648' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 15:58:42 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (8.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 864673665, 201799169)[0m [1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 20:15:43', '2012-07-11 20:15:43', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 20:15:43 UTC", "updated_at"=>"2012-07-11 20:15:43 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:15:43 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 20:15:43 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 126ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 166ms (Views: 163.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'hfyHrxhDYyXMJPzsVewy' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'hfyHrxhDYyXMJPzsVewy', "reset_password_sent_at" = '2012-07-11 20:15:43.670143', "updated_at" = '2012-07-11 20:15:43.670877' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (33ms) Date: Wed, 11 Jul 2012 16:15:43 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4ffddeefd0b83_70c73fef31034cdc39439@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 222ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms) Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qqkVYo4G0bpB17mTiHOCLu7t9rhiVUvvJN7wHMgpp67PQrYcaCIYi"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:15:44.049678' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 20:15:44.050964' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$oTkheP7gYVyU72qfqOM05OqfBVCS5MaqZbivkzO/6TJGl.Mllnwwu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:15:44.126680' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:15:44.135702', "current_sign_in_at" = '2012-07-11 20:15:44.135702', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:15:44.136244' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.1ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$W3tOanEm9v5BpkcVH8K4Cep3TnT.ZyQ8b5neFaqE4syvCeCXldlee"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:15:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:15:44.318810', "current_sign_in_at" = '2012-07-11 20:15:44.318810', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:15:44.319485' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:15:44 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-07-11 20:18:07', '2012-07-11 20:18:07', 349534908) [1m[36m (25.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-07-11 20:18:07 UTC", "updated_at"=>"2012-07-11 20:18:07 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 49ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 78ms (Views: 75.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kMXKQee9kB8gmLqyxH1i' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kMXKQee9kB8gmLqyxH1i', "reset_password_sent_at" = '2012-07-11 20:18:08.134893', "updated_at" = '2012-07-11 20:18:08.135768' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Wed, 11 Jul 2012 16:18:08 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <4ffddf8032e4d_70ea3fd1ad834cd01575@edge.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 96ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$stxXPSfA3fM3xWL.EXBYxe7ji..n9RD24x6i.8aOTV6AdYquhx.5W"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (36.6ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:18:08.317739' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-07-11 20:18:08.355882' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$E0TmBb0Ev18qkjjeIm6j0uSuN5uxsnFrqBA/IaEj4zVN.Y86ktZi6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-07-11 20:18:08.408476' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:18:08.417329', "current_sign_in_at" = '2012-07-11 20:18:08.417329', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:18:08.417853' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 31ms (Views: 30.0ms | ActiveRecord: 0.1ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$OfPoZNkBA.cMD2Ae4c2S1eay/ATzQUQHBKn4wV/ocehzWDMgP/EL."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 11 Jul 2012 20:18:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-07-11 20:18:08.597793', "current_sign_in_at" = '2012-07-11 20:18:08.597793', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-07-11 20:18:08.598488' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-07-11 16:18:08 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (19.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 864673665, 201799169)[0m [1m[35mFixture Delete (1.5ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:44:38', '2012-08-14 14:44:38', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:44:38 UTC", "updated_at"=>"2012-08-14 14:44:38 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 86ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (15.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ZPqoWRTQGpsFKqnRGkct', "reset_password_sent_at" = '2012-08-14 14:44:39.207238', "updated_at" = '2012-08-14 14:44:39.207989' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (61ms) Date: Tue, 14 Aug 2012 10:44:39 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a64577665f_956f3fc5b6035adc185e9@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 365ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$FcB671znoFX64u1k9WWXVO7JOhZqQWQdid2dd4.YzQWf3QYTs/vqa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.691934' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-08-14 14:44:39.693224' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$0AYchuOTTA5QFFQpQiKZueOb1jsVM8B5TZiUoO68UDUAyc0G5/dQq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-08-14 14:44:39.748190' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:39.757638', "current_sign_in_at" = '2012-08-14 14:44:39.757638', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:39.758123' WHERE "users"."id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) [1m[35m (30.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CeaoXCK1rXsyx4kxNKeEuOk0yOB7wBMQmI2Xqc.RdcWYqvGId0ioO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:44:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms) [1m[36m (47.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_at" = '2012-08-14 14:44:40.003961', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:44:40.004718' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:44:40 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 82ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:48:36', '2012-08-14 14:48:36', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:48:36 UTC", "updated_at"=>"2012-08-14 14:48:36 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 58ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (4.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LdBL7JyN5NaKjyEJRkNG', "reset_password_sent_at" = '2012-08-14 14:48:36.301022', "updated_at" = '2012-08-14 14:48:36.302235' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (42ms) Date: Tue, 14 Aug 2012 10:48:36 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a65445ce39_95ab3fe675835ae082992@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 105ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9AS/Lbe.fDRZlarkBu/7fuF0Q./Vm6YyUw/bTt8OV0p8qAh23aSwy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$n.s4EyGSGcvARXRITZf0ceKZY9ZPM1APJa5XT5BfQwiyvauJ/OOfq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.566913', "current_sign_in_at" = '2012-08-14 14:48:36.566913', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.567571' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$M62lom3ck1bWE6gkK97nLOjRcnWlUk6YYpXw/U85V4yhur15omELm"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:48:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_at" = '2012-08-14 14:48:36.721081', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:48:36.722173' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (3.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:48:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 82ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 14:50:34', '2012-08-14 14:50:34', 349534908) [1m[36m (2.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 14:50:34 UTC", "updated_at"=>"2012-08-14 14:50:34 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 53ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wMv66W2sGuwdznpDKpAp' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'wMv66W2sGuwdznpDKpAp', "reset_password_sent_at" = '2012-08-14 14:50:34.506413', "updated_at" = '2012-08-14 14:50:34.507432' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (51ms) Date: Tue, 14 Aug 2012 10:50:34 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a65ba913b9_95cf3fbff5435ae09221f@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 118ms (ActiveRecord: 0.0ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TTjyjlJd2ZEAKAjStNK6De1pHKodH/6twAmuauGXre7R4aHarnuIq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iYvOwKCNekSElYuZQIi3auqKgg3BUbRVdkiNHKInQE8IUYa6QUZzW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:34.784263', "current_sign_in_at" = '2012-08-14 14:50:34.784263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:34.784775' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) [1m[36m (35.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$vpwjAd.BWH5Ov87qRmUXIuh85yY7LsOD49unGFfzUetMRyQnzitda"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 14:50:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms) [1m[35m (30.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_at" = '2012-08-14 14:50:35.032559', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 14:50:35.033279' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (41.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 10:50:35 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 81ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:25:06', '2012-08-14 15:25:06', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:25:06 UTC", "updated_at"=>"2012-08-14 15:25:06 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:25:06 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 100ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 107ms (Views: 105.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'EjaptxwLdgzhyfkL2Rni' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'EjaptxwLdgzhyfkL2Rni', "reset_password_sent_at" = '2012-08-14 15:25:06.842675', "updated_at" = '2012-08-14 15:25:06.843992' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (40ms) Date: Tue, 14 Aug 2012 11:25:07 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a6dd34d08_98c63fc7b5835ad8708f3@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 240ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$NSBJ5Vvy2v7hqC3mLKk3we60S9h0ODcdgaTSfMojUv4CjiXD1I1Um"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZubOp9Fw4JZUsO.b0.nNwOFl6wZskkc.9j0H5qu3XZUMLakI9ODny"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.348792', "current_sign_in_at" = '2012-08-14 15:25:07.348792', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.349336' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Setting Flash Message Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.1ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$77Z6uJAShOaoyDwm/pJxGOc7YsfYm9/2CxcXKYF7s1EPN/lGreAMu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:25:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_at" = '2012-08-14 15:25:07.541370', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:25:07.542368' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 89ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (1.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:25:07 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 87ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 15:44:05', '2012-08-14 15:44:05', 349534908) [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 15:44:05 UTC", "updated_at"=>"2012-08-14 15:44:05 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 15:44:05 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 80ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 61ms (Views: 59.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'vEm7weMoQPYtYzSs4Vaw', "reset_password_sent_at" = '2012-08-14 15:44:06.065607', "updated_at" = '2012-08-14 15:44:06.066699' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (30ms) Date: Tue, 14 Aug 2012 11:44:06 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a7246393bc_9a723ffd46035ad8589ee@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 196ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$KnLkUCYAxuyNw8mccGCQ4eOsfKZipT9P86TWQWAsSYedUV20JLd/e"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$5lBcYFrWoHfw13AiOFPwKeFGVJPAQ.kEc/xpL03kK5aOFkvthiEv6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.471540', "current_sign_in_at" = '2012-08-14 15:44:06.471540', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.472080' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Setting Flash Message Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$fPEBm.mng5ZBM2Y0FIKv0uyt8K2xryPKVTm5nhzdO8a0UY.Bk2NGe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 15:44:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_at" = '2012-08-14 15:44:06.651276', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 15:44:06.652210' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 11:44:06 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:19:35', '2012-08-14 16:19:35', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:19:35 UTC", "updated_at"=>"2012-08-14 16:19:35 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:19:35 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 75ms (Views: 73.0ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KyC7sCmVuGsJCx2acwwY' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KyC7sCmVuGsJCx2acwwY', "reset_password_sent_at" = '2012-08-14 16:19:35.825240', "updated_at" = '2012-08-14 16:19:35.826070' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (48ms) Date: Tue, 14 Aug 2012 12:19:36 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a7a9870c_9d323fda15435ad826a0@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 217ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8G1SSUapKyakQizsQ62qKOUh4.U/IlkqQj4n5yaWPgsARHpmo7DI."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$dLgia8zeNXkHX6If0dAbiuuqVXUMMR9H3CbzScfhOGoMMe6jZzyFS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.267083', "current_sign_in_at" = '2012-08-14 16:19:36.267083', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.267676' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ptab13mVIlTPr0ACZnrMJekMKP2VO5vkOSfKsWS2sTC1JzIxJJq3u"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:19:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_at" = '2012-08-14 16:19:36.442689', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:19:36.443414' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:19:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 85ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 16:32:37', '2012-08-14 16:32:37', 349534908) [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 16:32:37 UTC", "updated_at"=>"2012-08-14 16:32:37 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 16:32:37 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 64ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'y81pakDk2sA4ssLG6Lns' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'y81pakDk2sA4ssLG6Lns', "reset_password_sent_at" = '2012-08-14 16:32:37.805532', "updated_at" = '2012-08-14 16:32:37.806637' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (26ms) Date: Tue, 14 Aug 2012 12:32:37 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a7da5e1388_9dfd3fef15835ad8270b@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 146ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:37 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hsPTwHkanbRUSWIAAylRnefxt6XR7KzKRQ6YOyZPzCbP437PxsDDq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NhBVP5fwolXLPrbhlNPk4Or061nU3CnkvqHivhJzaT.MOrLocmFWe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.132749', "current_sign_in_at" = '2012-08-14 16:32:38.132749', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.133287' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qwvpfG7TXeRM8efkFuWMZuqSF0E/85.N1YtLhyVZ1IaBez/tUMjyK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 16:32:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_at" = '2012-08-14 16:32:38.289217', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 16:32:38.289916' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 12:32:38 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (19.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 864673665, 201799169)[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:32:54', '2012-08-14 17:32:54', 349534908) [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:32:54 UTC", "updated_at"=>"2012-08-14 17:32:54 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:32:54 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 90ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (6.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 174ms (Views: 172.3ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KSr7pk7S7qacmypxpky6' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'KSr7pk7S7qacmypxpky6', "reset_password_sent_at" = '2012-08-14 17:32:55.086213', "updated_at" = '2012-08-14 17:32:55.087522' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (97ms) Date: Tue, 14 Aug 2012 13:32:55 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a8bc77fd5b_a43f3fcac8435ad063692@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 571ms (ActiveRecord: 0.0ms) [1m[36m (16.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.0ms) Completed 200 OK in 117ms (Views: 116.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wS98Pc4v03XVTgIUXuPxiuV7UvJq6DWK2enzO2CswvWFmiYhs5jJC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 43ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms) [1m[35m (24.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$x2xE5JX231XShQY049L3WOeXb5Iscl3tsyvLUHqHKI/IjzybhTFBu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.387536', "current_sign_in_at" = '2012-08-14 17:32:56.387536', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.388067' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.1ms) [1m[36m (8.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$N.W9mNYyDjNwRF4y5uME0O28aqG.Ho0ibuZI8Ym.jOzRrukwiUR46"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:32:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[35m (23.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_at" = '2012-08-14 17:32:56.610668', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:32:56.611665' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (87.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:32:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 85ms [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (16.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 864673665, 201799169)[0m [1m[35mFixture Delete (1.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-14 17:37:04', '2012-08-14 17:37:04', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-14 17:37:04 UTC", "updated_at"=>"2012-08-14 17:37:04 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 84ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 152ms (Views: 149.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qbxtCtTydzSczQpNbBRf' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'qbxtCtTydzSczQpNbBRf', "reset_password_sent_at" = '2012-08-14 17:37:05.395731', "updated_at" = '2012-08-14 17:37:05.396869' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (71ms) Date: Tue, 14 Aug 2012 13:37:05 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502a8cc1a98ed_a49f3fdfd9035ae0794b8@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 367ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms) Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:05 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$dtSNOAkC.llB3cTs9E6l9eoc5gjRglKjvDsUZWyRuy.E2GKk79xH2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:05 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:05 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 51ms (Views: 50.1ms | ActiveRecord: 0.0ms) [1m[35m (6.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$SbQ.vq8Qnpmx627bOzDEIuKUsFwTDbVaApL4hs.zd79m5dXZEM4TG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.042032', "current_sign_in_at" = '2012-08-14 17:37:06.042032', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.042653' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.1ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$UEVSbKKiIdm//ev/uSohouDj98N1DVRdJh6ElkC1J8B34RggwztM."], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 14 Aug 2012 17:37:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_at" = '2012-08-14 17:37:06.220602', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-14 17:37:06.221359' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-14 13:37:06 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 84ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (36.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-15 15:35:50', '2012-08-15 15:35:50', 349534908) [1m[36m (8.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-15 15:35:50 UTC", "updated_at"=>"2012-08-15 15:35:50 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Aug 2012 15:35:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 15 Aug 2012 15:35:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 70ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 147ms (Views: 144.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GXbJjy7qW8KCsbxQHqDP' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'GXbJjy7qW8KCsbxQHqDP', "reset_password_sent_at" = '2012-08-15 15:35:51.157700', "updated_at" = '2012-08-15 15:35:51.158720' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (69ms) Date: Wed, 15 Aug 2012 11:35:51 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502bc1d769a76_ffe73fe88c435ad08339f@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 343ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (20.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9xM3eNHg5kEiibCCLeZzoOH7sD1MqgsNOIgefDtBJcJsW15Rf3vWy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$84nvPGCjhUasbyOnJbTtHu3uih4rcS/3/Hk0QK2k7Vd7UE089X8.u"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-15 15:35:51.780847', "current_sign_in_at" = '2012-08-15 15:35:51.780847', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-15 15:35:51.781420' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms) [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$7pI14LFd29/dSuDCCbG3JOyqarHmVffvIvk5QGUMSYdMQawptUM3C"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 15 Aug 2012 15:35:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (30.0ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-15 15:35:51.950943', "current_sign_in_at" = '2012-08-15 15:35:51.950943', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-15 15:35:51.951698' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 111ms (Views: 0.3ms | ActiveRecord: 30.3ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-15 11:35:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (53.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 12:41:03', '2012-08-16 12:41:03', 349534908) [1m[36m (17.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 12:41:03 UTC", "updated_at"=>"2012-08-16 12:41:03 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 12:41:03 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 78ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (5.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (19.9ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 24ms (ActiveRecord: 20.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 123ms (Views: 121.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'F4ZHCymBXsg7kDgrZkXf', "reset_password_sent_at" = '2012-08-16 12:41:03.830927', "updated_at" = '2012-08-16 12:41:03.831681' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (85ms) Date: Thu, 16 Aug 2012 08:41:04 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502cea6011157_149683fce44435ad816ef@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 351ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Gma20YUE2LVK626UmUEETul0/VpBrH1ZquSdY4gAXK86FZcezB3R."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms) [1m[35m (5.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$HnVfn.WWgis0GXSN3q9Jh.Y0nwInAXMHjAbWxusPM4ZooG7WmPoE6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.496028', "current_sign_in_at" = '2012-08-16 12:41:04.496028', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.496655' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.1ms) [1m[36m (12.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HEd3hRQG99xiXjQNoRssTeoW5bUoqRuqOtuigxRun4pBi9QFa53IC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 12:41:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms) [1m[35m (3.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (36.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_at" = '2012-08-16 12:41:04.713201', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 12:41:04.713992' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[35m (448.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 08:41:05 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 84ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (14.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-16 18:09:58', '2012-08-16 18:09:58', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-16 18:09:58 UTC", "updated_at"=>"2012-08-16 18:09:58 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 16 Aug 2012 18:09:58 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 70ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 170ms (Views: 168.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'scjYKdaSxtMvF1bLyDpV' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'scjYKdaSxtMvF1bLyDpV', "reset_password_sent_at" = '2012-08-16 18:09:59.032068', "updated_at" = '2012-08-16 18:09:59.033111' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (38ms) Date: Thu, 16 Aug 2012 14:09:59 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <502d377747691_161fc3fdc61835ae084227@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 321ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ad0Ey65CSKy62m0EoRVI9O7Ilhh0LzhpRe/GiADTduB1qQAuDLZ1W"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 26ms Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$W.6IyoZElSy0Y/cCOmtVZuVL53eilcRkFvQW/jbivHFl6ybZbaJSi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.636504', "current_sign_in_at" = '2012-08-16 18:09:59.636504', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.637066' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$p.IhpYscxpiXJJVkyQ7WFOd/9tE2Ha8NVIeB16/9pYfpagyuJcA76"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 16 Aug 2012 18:09:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_at" = '2012-08-16 18:09:59.806049', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-16 18:09:59.806795' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-16 14:09:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 81ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-08-21 15:59:11', '2012-08-21 15:59:11', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-08-21 15:59:11 UTC", "updated_at"=>"2012-08-21 15:59:11 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 50ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (18.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'pMY8RdeJdDcFrrpqgcP1', "reset_password_sent_at" = '2012-08-21 15:59:11.277994', "updated_at" = '2012-08-21 15:59:11.278779' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Tue, 21 Aug 2012 11:59:11 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5033b04f59b80_159d23fcde9c35ae0114c3@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 110ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$SMea1HQQhbrmI1yDOeu5leUUCKxNmXUZYrRzfi6U9HFYpG5.n8yXq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$eBb2BAlHiEheWF0rgIlLLu1LYnbhRvN/gLA/HnBPAZZsgQhAtMN7S"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.546808', "current_sign_in_at" = '2012-08-21 15:59:11.546808', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.547258' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$W.N2DdtAAGPILkqc/PulUupqpcrIcgdJWj9pAeUiBXVXD5YPPzcZW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 21 Aug 2012 15:59:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_at" = '2012-08-21 15:59:11.697154', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-08-21 15:59:11.697870' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-08-21 11:59:11 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 77ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-04 13:26:18', '2012-09-04 13:26:18', 349534908) [1m[36m (51.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-04 13:26:18 UTC", "updated_at"=>"2012-09-04 13:26:18 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 04 Sep 2012 13:26:18 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'LDQEbcVH2sqXsUFgKVUX', "reset_password_sent_at" = '2012-09-04 13:26:18.770428', "updated_at" = '2012-09-04 13:26:18.771188' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (16ms) Date: Tue, 04 Sep 2012 09:26:18 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5046017ae8d65_d6543febadc35ae0583c2@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 233ms (ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$QhaeN2QKkQc8CH0FNno/he95by2eihxrGEtkT1/OfdsSyEVhgRolq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.9ms) Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$gJ/nGq86a6g7e8EAxyS5j.iyNGbEFdf3utHVWTQSevz9QQWnhtBNW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.170591', "current_sign_in_at" = '2012-09-04 13:26:19.170591', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.171047' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SCzkCZgplkcmyZtf/POSL.Ecw/R1bS.r6AIY5WkEZZaIcv.Vdwbiu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 04 Sep 2012 13:26:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_at" = '2012-09-04 13:26:19.328427', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-04 13:26:19.329120' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-04 09:26:19 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 78ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-05 13:39:48', '2012-09-05 13:39:48', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-05 13:39:48 UTC", "updated_at"=>"2012-09-05 13:39:48 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Sep 2012 13:39:48 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 96ms (Views: 65.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'PjfLsyWZsM2d7GCGv8e2', "reset_password_sent_at" = '2012-09-05 13:39:49.117902', "updated_at" = '2012-09-05 13:39:49.118624' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15ms) Date: Wed, 05 Sep 2012 09:39:49 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5047562534d48_12ed93ff49e035ad4390ad@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 146ms (ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$8XKPvD6OrBuqa7NfTSS5vuhZ7HeLKXc3YlDVhLmGildQcD5IqLYTy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZqTLa0jFc4aQChlOD/4CI.pQweY8Civ/1SiYovRdJd.HAbGfK5VCm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.459868', "current_sign_in_at" = '2012-09-05 13:39:49.459868', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.460314' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$tcnAbLuusn9W2A/.fHY2f.qP/zwhopAagvR1REHfLO3w/qmquNzgu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Sep 2012 13:39:49 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_at" = '2012-09-05 13:39:49.607213', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-05 13:39:49.607899' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-05 09:39:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 78ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (30.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:31:33 UTC", "updated_at"=>"2012-09-10 18:31:33 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 33ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (20.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 184ms (Views: 181.9ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX', "reset_password_sent_at" = '2012-09-10 18:31:33.572646', "updated_at" = '2012-09-10 18:31:33.574102' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (128ms) Date: Mon, 10 Sep 2012 14:31:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <504e3205cca82_af433fe4acc35ad434623@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 377ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms) Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DwAlA3jInjonmwy0ucL9i.MKCfvtEwcBOkpjS7oE1Yxe8Z8wFkYf6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (29.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 63ms (Views: 62.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N2JtWevvgI/xfVhlIxM0Ru2aGTAXjy4zrfT77KSnvGt3Rhm/9.SGe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.202552', "current_sign_in_at" = '2012-09-10 18:31:34.202552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.203113' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.1ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$aHdyDHWDVzsBMDkQuxVdG.nryVS9Q8PFjLD9B.Q7oQMMgtN4bFcDW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.382469' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:46:37', '2012-09-10 18:46:37', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:46:37 UTC", "updated_at"=>"2012-09-10 18:46:37 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (38.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 81ms (ActiveRecord: 39.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (33.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (3.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 145ms (Views: 142.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GgquaUa2pL6WvAWGCas3' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'GgquaUa2pL6WvAWGCas3', "reset_password_sent_at" = '2012-09-10 18:46:38.047598', "updated_at" = '2012-09-10 18:46:38.048660' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (70ms) Date: Mon, 10 Sep 2012 14:46:38 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <504e358e49683_b1013fc9c8835adc1644b@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 392ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$k1YnZJhyITnicXIimOa.5eSTSF/Dcd3iqVhTLBll0Sf2ydEdnT/sa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$G57Zblb/A9U4WCQuI5f6fuqYuw0X/SWOzYH8jTfuIjKYCq7cyciD6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.667006', "current_sign_in_at" = '2012-09-10 18:46:38.667006', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.667723' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.2ms) [1m[36m (20.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0rHzFelYVGcrF5Wc4DrMtO9x5pwcDR7xUJkVm77cUX2buEj/QyXs2"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:46:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (7.6ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms) [1m[35m (19.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:38 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.924080' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[35m (137.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (7.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (8.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 864673665, 201799169)[0m [1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:52:14 UTC", "updated_at"=>"2012-09-10 18:52:14 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.9ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.4ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 147ms (Views: 144.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx', "reset_password_sent_at" = '2012-09-10 18:52:15.147756', "updated_at" = '2012-09-10 18:52:15.149159' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (74ms) Date: Mon, 10 Sep 2012 14:52:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <504e36df6bdf5_b1aa3ffc4d835ad4887c0@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 416ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$zaTDlrcmvornfxQwcHcdheqy8WCGuMIlOoLiR6jRroF9ZSL.nAdpe"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 33ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Rx5HH42oS1OQVe38cBwoSuHyZUnquuWvMlyWDoIIzXJjXTw3SarHC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.822608', "current_sign_in_at" = '2012-09-10 18:52:15.822608', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.823390' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$WBcH8fjU.Ny8O/.8wYS.y.xEQxTDtDU5CAh5zxR4Gc8YyOLZfoBZK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 10 Sep 2012 18:52:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:15 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.999303' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 82ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (8.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-09-18 13:51:35', '2012-09-18 13:51:35', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-18 13:51:35 UTC", "updated_at"=>"2012-09-18 13:51:35 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 47ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 99ms (Views: 96.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'v5VriATE3rqa5sf8TX7e' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'v5VriATE3rqa5sf8TX7e', "reset_password_sent_at" = '2012-09-18 13:51:36.182706', "updated_at" = '2012-09-18 13:51:36.183424' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (68ms) Date: Tue, 18 Sep 2012 09:51:36 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50587c6855131_5d703fc22c835ad082084@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 229ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (35.6ms) Completed 200 OK in 91ms (Views: 90.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Q3fdr19n.vTpgIJsX05.Ve3DAD2XOjVTAbrdihiqzTFAT/CU58uKq"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$80dbZNKOZghjpO3WQeVlW.NVZc2KmxEc3yjwuWJrLxAPmN2QLQ96S"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-18 13:51:36.695617', "current_sign_in_at" = '2012-09-18 13:51:36.695617', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-18 13:51:36.696101' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$xup37RpRR1VAF/.lQeZ.nuDu./jl.7V3y/CLzlgEbPBu5qvoHFTKO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 18 Sep 2012 13:51:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-18 13:51:36.862445', "current_sign_in_at" = '2012-09-18 13:51:36.862445', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-18 13:51:36.863143' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-18 09:51:36 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 80ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 876923740, 201799169) [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-10-30 15:31:58', '2012-10-30 15:31:58', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-10-30 15:31:58 UTC", "updated_at"=>"2012-10-30 15:31:58 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 30 Oct 2012 15:31:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 30 Oct 2012 15:31:58 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 59ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (32.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 129ms (Views: 127.5ms | ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'nqPLkuzcApnE7oSJPuPL' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'nqPLkuzcApnE7oSJPuPL', "reset_password_sent_at" = '2012-10-30 15:31:58.630426', "updated_at" = '2012-10-30 15:31:58.631188' WHERE "users"."id" = 201799169[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (46ms) Date: Tue, 30 Oct 2012 11:31:58 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <508ff2eec2ec4_10f53fdb75c35ad876578@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 207ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-10-30 11:31:58 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 30 Oct 2012 15:31:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cF.PecWIFfaibHZ0Tefhl.Lr1TM08WT23YDwtnYX/3vuJ3lxhXFWy"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 30 Oct 2012 15:31:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-10-30 11:31:58 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2012-10-30 11:31:58 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-10-30 11:31:58 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 30 Oct 2012 15:31:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BkUt3X9r0tgIjqjbpsPVxeuAAO3Qpupk.rog.wEu5zmQujeY.yaBO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 30 Oct 2012 15:31:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-10-30 15:31:59.021098', "current_sign_in_at" = '2012-10-30 15:31:59.021098', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-10-30 15:31:59.021830' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 30 Oct 2012 15:31:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$A25OGJbn1j7iTz082VfkM.GUml8bzFJwlugtIQJj3UaGgvpwvt.hO"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 30 Oct 2012 15:31:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 4ms Started GET "/users/login" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-10-30 15:31:59.189075', "current_sign_in_at" = '2012-10-30 15:31:59.189075', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-10-30 15:31:59.189790' WHERE "users"."id" = 201799169 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-10-30 11:31:59 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 79ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 18:14:28', '2012-12-05 18:14:28', 349534908) [1m[36m (24.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (35.6ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 18:14:28 UTC", "updated_at"=>"2012-12-05 18:14:28 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 102ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 59ms (Views: 56.0ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jyfqbvNkprQom4WWfnex' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'jyfqbvNkprQom4WWfnex', "reset_password_sent_at" = '2012-12-05 18:14:29.210600', "updated_at" = '2012-12-05 18:14:29.212486' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (84ms) Date: Wed, 05 Dec 2012 13:14:29 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50bf8f0562f58_9f9e3ff0e1c35ad49335@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 310ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.9ms) Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JMHXs/84yV9ouxOeWizHe.XmgEB7HuOzR9Jbx4JecVi7vmrIMatMa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 57ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms) Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iUdFuPnelGaa3G7D/1A.leNgBzIuoYhpJuKpaUbM2ViFQIUAp1lKe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:29.825656', "current_sign_in_at" = '2012-12-05 18:14:29.825656', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:29.826751' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 16ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nbRGKdGteTvVmogFTdyYHOHNEhAoXM7rJYC4x7V1XQ5zOfR1fbqlC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 18:14:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:29 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_at" = '2012-12-05 18:14:30.261740', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 18:14:30.263220' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 307ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 13:14:30 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 302ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:07:53', '2012-12-05 19:07:53', 349534908) [1m[36m (19.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:07:53 UTC", "updated_at"=>"2012-12-05 19:07:53 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:07:53 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 100ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms) Completed 200 OK in 67ms (Views: 63.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kLy8L5oYZfaz4gyXu9Tx', "reset_password_sent_at" = '2012-12-05 19:07:54.068022', "updated_at" = '2012-12-05 19:07:54.071463' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (93ms) Date: Wed, 05 Dec 2012 14:07:54 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50bf9b8a51a9b_a6f13fdfa2035ae029250@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 381ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.0ms) Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Qo5w8KWfmrZIl.03nwX7zuoHnSKS..ou4nzWsCVFZdvYr1.RI0pji"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 62ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.6ms) Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$r3vcdY5RO4iULpD9qSkyDeji2o9Rm5qc4GPGVUvtMG//LaLO3oxUm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:54.803263', "current_sign_in_at" = '2012-12-05 19:07:54.803263', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:54.805060' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 18ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$NjCur/AM4jt1hDF6Wo0/ne0P985omGabNygyXazE0IQkSbJcWHNAW"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:07:54 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 11ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms) Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:54 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_at" = '2012-12-05 19:07:55.281658', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:07:55.283424' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 317ms (Views: 0.5ms | ActiveRecord: 0.8ms) [1m[35m (32.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:07:55 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 312ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-05 19:10:08', '2012-12-05 19:10:08', 349534908) [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (3.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-05 19:10:08 UTC", "updated_at"=>"2012-12-05 19:10:08 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 05 Dec 2012 19:10:08 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 97ms (ActiveRecord: 1.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.7ms) Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ixYAmyfHSpxyNtvytypN' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ixYAmyfHSpxyNtvytypN', "reset_password_sent_at" = '2012-12-05 19:10:08.679311', "updated_at" = '2012-12-05 19:10:08.680848' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (88ms) Date: Wed, 05 Dec 2012 14:10:08 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50bf9c10ccfa8_a7533ffa14c35ad428546@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 254ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms) Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:08 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$5ljRjuLtFc2b.TRSAkVZN.vcK.t/tYaW4mpDYc7Ryu3ra9xFQ0R02"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 16ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms) Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$a0uYUDI61jkKG7DhGCeRYe.QREmXubuMgum7tkifUnRzKzgTp8.S2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.260151', "current_sign_in_at" = '2012-12-05 19:10:09.260151', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.261370' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 18ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms) [1m[36m (25.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3k1G7AYLNf7pFfIy2AmisOTAFV55YARpUHy8kqqu66UAzpSySlNgC"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Wed, 05 Dec 2012 19:10:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms) Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms) [1m[35m (6.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_at" = '2012-12-05 19:10:09.752358', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-05 19:10:09.754156' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 313ms (Views: 0.5ms | ActiveRecord: 0.8ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-05 14:10:09 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 307ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-12-11 18:04:13', '2012-12-11 18:04:13', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (21.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-12-11 18:04:13 UTC", "updated_at"=>"2012-12-11 18:04:13 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 11 Dec 2012 18:04:13 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 11 Dec 2012 18:04:13 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 89ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (10.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (43.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 99ms (Views: 96.5ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'nFLrRNnspk73H2ddCeg9' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'nFLrRNnspk73H2ddCeg9', "reset_password_sent_at" = '2012-12-11 18:04:13.752457', "updated_at" = '2012-12-11 18:04:13.753939' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (89ms) Date: Tue, 11 Dec 2012 13:04:14 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50c7759e6f0f_133063fd9ca035adc124fa@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 363ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.1ms) Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cCJKLD/ncdsSkB1L7VzziOboJH71v1rSVguSXYxkYwqRYsPPFlPuG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 34ms Started GET "/users/login" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms) Completed 200 OK in 32ms (Views: 30.0ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nbEeXEM4pZUmmbSbu3IjXu.9LQRT3qphqRVXCISuFKF/3geFf4Fyu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-11 18:04:14.430758', "current_sign_in_at" = '2012-12-11 18:04:14.430758', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-11 18:04:14.432061' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 16ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.2ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$avrDnRziir74PSIfqK2DkeLanb4CR.56sQ9MIEkf0lzsFHzbac6ly"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 11 Dec 2012 18:04:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 11ms Started GET "/users/login" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-12-11 18:04:14.880473', "current_sign_in_at" = '2012-12-11 18:04:14.880473', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-12-11 18:04:14.882032' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 308ms (Views: 0.4ms | ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-12-11 13:04:14 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 303ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-01-03 19:28:25', '2013-01-03 19:28:25', 349534908) [1m[36m (2.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-01-03 19:28:25 UTC", "updated_at"=>"2013-01-03 19:28:25 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 86ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 104ms (Views: 100.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'mHZNdTfDnvNRACUkCs8m' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'mHZNdTfDnvNRACUkCs8m', "reset_password_sent_at" = '2013-01-03 19:28:26.326816', "updated_at" = '2013-01-03 19:28:26.328216' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (36ms) Date: Thu, 03 Jan 2013 14:28:26 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <50e5dbda75d7e_a2533fdf49835adc34212@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 200ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.6ms) Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$VXQP5OXIMuBdhO7Au0mEJe.JoPHGF8U7EJKY3UF0RG0fpYQ/rrArS"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms) Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$hdbVA7Vmk0mNKQrsAvk.Qu8EnTcKfOzZAFr46FRu/k.ukkHDR8Gcy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-01-03 19:28:26.834751', "current_sign_in_at" = '2013-01-03 19:28:26.834751', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-01-03 19:28:26.835838' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 16ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$h1BiqWG6KDdFwJMFlqEyYebGkaLfCO9KCq3tkS3eRnwSh/Cg8wdxK"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 03 Jan 2013 19:28:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-01-03 14:28:26 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-01-03 19:28:27.258903', "current_sign_in_at" = '2013-01-03 19:28:27.258903', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-01-03 19:28:27.260275' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 296ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-01-03 14:28:27 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 291ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.6ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 17:11:58 UTC", "updated_at"=>"2013-02-05 17:11:58 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 17:11:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 17:11:58 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 94ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.8ms) Completed 200 OK in 112ms (Views: 108.6ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SKspzsQ2x6PGbFt3xpsq' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'SKspzsQ2x6PGbFt3xpsq', "reset_password_sent_at" = '2013-02-05 17:11:58.762533', "updated_at" = '2013-02-05 17:11:58.764568' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (39ms) Date: Tue, 05 Feb 2013 12:11:58 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51113d5eeaddc_d0603fe744c35ad0844f9@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 254ms (ActiveRecord: 0.0ms) [1m[36m (6.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.5ms) Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$HZr0uT5msSsMmpjLHkyfRuqNwrrqK/MYapLL7foUbUmjanMlnZfnu"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms) Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$toCwxiLbSApEmmHPcjDpfOYmtMZjiAufcHFFDpgqvtfRsH71fuwGi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 17:11:59.355318', "current_sign_in_at" = '2013-02-05 17:11:59.355318', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 17:11:59.356596' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 17ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CDQzn8jua8uMrxseiI6BO.NqnNv/Cb1TsDSmNMxUN/aHo6UPgmA/C"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 12ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms) Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 17:11:59.819366', "current_sign_in_at" = '2013-02-05 17:11:59.819366', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 17:11:59.820829' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 314ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 12:11:59 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 305ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 349534908) [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (26.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 18:11:10 UTC", "updated_at"=>"2013-02-05 18:11:10 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:11:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 18:11:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 189ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (5.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms) Completed 200 OK in 138ms (Views: 135.6ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'n9xjRT1VsiW6jYkRacB9' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'n9xjRT1VsiW6jYkRacB9', "reset_password_sent_at" = '2013-02-05 18:11:10.943988', "updated_at" = '2013-02-05 18:11:10.945636' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (83ms) Date: Tue, 05 Feb 2013 13:11:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51114b3f3fdec_d8d43fea7cc35ae0944f8@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 426ms (ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.8ms) Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$sF3l3i8trw1mKqaJmyhyTunG9o7Lo6ATmSGarI5DSgmQOVu3c4eE6"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 35ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 30ms (Views: 28.1ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RIMFXGqDF7l3qeJy7iYpkuQDwZrqyMzLDNCalaIl1M6OUow9c.spe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:11:11.781715', "current_sign_in_at" = '2013-02-05 18:11:11.781715', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:11:11.782941' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lyqWFPWkne/4U8ZJEbZhquzd6XiKvy74Rgi62JkyDbQctTcgENGwm"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:11:11 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:11:12.236239', "current_sign_in_at" = '2013-02-05 18:11:12.236239', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:11:12.237730' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 316ms (Views: 0.4ms | ActiveRecord: 0.7ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:11:12 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 321ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 18:15:45 UTC", "updated_at"=>"2013-02-05 18:15:45 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 84ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 93ms (Views: 89.9ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'TjNwn3gi2dmfTvuq1xCz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'TjNwn3gi2dmfTvuq1xCz', "reset_password_sent_at" = '2013-02-05 18:15:45.449054', "updated_at" = '2013-02-05 18:15:45.450453' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (35ms) Date: Tue, 05 Feb 2013 13:15:45 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51114c518e346_d9b93fc171c35ad89724c@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 176ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.6ms) Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xwwhXTrFRe8Y0ow0p/WvQuz9D/h4VRbi5mcEZ6FfkhbhjDuKyibN2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZNtdNP/O4y4Zd0ca6OhzE.fR6DSnZRICqwQ7YEurzXRz2fbdYgMtm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:15:45.922548', "current_sign_in_at" = '2013-02-05 18:15:45.922548', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:15:45.923644' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ZjcsJSkwqzZpmtiuSaSQkeua7V431XAeInL56a3yIHUdpzn2NoHJe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms) [1m[35m (23.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-05 13:15:46 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:15:46 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:15:46.360599', "current_sign_in_at" = '2013-02-05 18:15:46.360599', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:15:46.361984' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 291ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:15:46 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 293ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 13:44:30', '2013-02-11 13:44:30', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.9ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-11 13:44:30 UTC", "updated_at"=>"2013-02-11 13:44:30 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 13:44:30 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 11 Feb 2013 13:44:30 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 153ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 131ms (Views: 128.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'E8EexyHZzgkSsRuE9Zjz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'E8EexyHZzgkSsRuE9Zjz', "reset_password_sent_at" = '2013-02-11 13:44:31.153237', "updated_at" = '2013-02-11 13:44:31.155459' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (79ms) Date: Mon, 11 Feb 2013 08:44:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5118f5bf66e79_142813fe14c835adc76675@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password, and you can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 346ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.3ms) Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qPVE1mGB4HolVmsMrSNyRuiIP6pN.63ObB9QF2L1l6ydc11fnU6R."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 29ms (Views: 27.3ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Eu3P7YHPZqdzuHxnNMHbi.dgDnXaYmLWNJ.HPXlp39m4e5zz2tn3e"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 13:44:31.839542', "current_sign_in_at" = '2013-02-11 13:44:31.839542', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 13:44:31.840704' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ZzjtLXJM/Bky2W7V2C0jF.PM8moc/GMT13TUXQ5Xl7nWMCAeK3pRu"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:44:31 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 08:44:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 13:44:32.281075', "current_sign_in_at" = '2013-02-11 13:44:32.281075', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 13:44:32.282466' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 305ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (7.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 08:44:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 284ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 13:55:16', '2013-02-11 13:55:16', 349534908) [1m[36m (27.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (3.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-11 13:55:16 UTC", "updated_at"=>"2013-02-11 13:55:16 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 92ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms) Completed 200 OK in 102ms (Views: 99.2ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WxA99rgT68uSn8b9SFU6' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'WxA99rgT68uSn8b9SFU6', "reset_password_sent_at" = '2013-02-11 13:55:17.344435', "updated_at" = '2013-02-11 13:55:17.346018' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (38ms) Date: Mon, 11 Feb 2013 08:55:17 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5118f84577fb7_144e33fda4dc35ad412a@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 191ms (ActiveRecord: 0.0ms) [1m[36m (50.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.8ms) Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$6cW4YGFDL06ObXODoeiRa.5GF.kthpQpKJBemS3eKxjAXb6OFhzkm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms) Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.0ms) [1m[35m (8.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BW5eZKJiBGC0XkI2Q.gMI.5EJZFza83.GAkghO1DvVY7Fnr5d3m.W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 13:55:17.898066', "current_sign_in_at" = '2013-02-11 13:55:17.898066', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 13:55:17.899219' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HEwKMG4XOQMHu9.RnLCQuul1pj/cKtWqMvwrZ1cDwHYJDsc7mPJ0W"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 13:55:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 11ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 08:55:17 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-11 08:55:18 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 08:55:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 13:55:18.340484', "current_sign_in_at" = '2013-02-11 13:55:18.340484', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 13:55:18.341943' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 311ms (Views: 0.4ms | ActiveRecord: 0.7ms) [1m[35m (29.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 08:55:18 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 301ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-11 19:00:52', '2013-02-11 19:00:52', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (2.7ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-11 19:00:52 UTC", "updated_at"=>"2013-02-11 19:00:52 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 86ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (26.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (29.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 99ms (Views: 95.7ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'mzRySEBVxpmaC58rrtog' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'mzRySEBVxpmaC58rrtog', "reset_password_sent_at" = '2013-02-11 19:00:53.252861', "updated_at" = '2013-02-11 19:00:53.254391' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (77ms) Date: Mon, 11 Feb 2013 14:00:53 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51193fe588809_171903fe590835ad021589@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 387ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$QaUh/C8zwajx8bXdk8q59.Ax2ldHoyWB6fCLTqkoQsJ4paX/oFMaC"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 28ms (Views: 26.7ms | ActiveRecord: 0.0ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 0ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FdFda0.Mwq06oV8hdKXkgusul8NA5SUVDyj3m8UvlGJ3gH8mFemHi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 19:00:53.918534', "current_sign_in_at" = '2013-02-11 19:00:53.918534', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 19:00:53.919628' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$n3IebC/HmWfmRNGVSoL8/OhfjOMlJV99WQzdFFxf43isW8jD4JHuq"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 11 Feb 2013 19:00:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2013-02-11 14:00:53 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (45.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 63ms (Views: 62.4ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-11 14:00:54 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 14:00:54 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-11 19:00:54.387132', "current_sign_in_at" = '2013-02-11 19:00:54.387132', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-11 19:00:54.388558' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 301ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-11 14:00:54 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 293ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-15 19:44:12', '2013-02-15 19:44:12', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (3.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-15 19:44:12 UTC", "updated_at"=>"2013-02-15 19:44:12 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 15 Feb 2013 19:44:12 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 15 Feb 2013 19:44:12 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 112ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 100ms (Views: 96.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kDw9ZE7wJvfBw25Cq3ts' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kDw9ZE7wJvfBw25Cq3ts', "reset_password_sent_at" = '2013-02-15 19:44:13.079246', "updated_at" = '2013-02-15 19:44:13.080999' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (100ms) Date: Fri, 15 Feb 2013 14:44:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <511e900d69246_117513feb7d835ad81451e@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 438ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$3cviuPomtCP6iiSzfWhCo.IaTdTulR/o4QC/KO9ifB5.AFFlzPiLa"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (30.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 33ms Started GET "/users/login" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms) Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Ggh8RbepTlo8rhQsMdGQT.OMmvKCxDxBo6Ta7FihJf.nYprxThLYa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (17.1ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-15 19:44:13.918836', "current_sign_in_at" = '2013-02-15 19:44:13.918836', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-15 19:44:13.920120' WHERE "users"."id" = 999914116 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-15 14:44:13 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.aJ/d7T36SzU6DT6rqdw.eo3gcezxm2N03bJm/FkqxtybUMJzAC.W"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 15 Feb 2013 19:44:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (26.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-15 14:44:14 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 10ms Started GET "/users/login" for 127.0.0.1 at 2013-02-15 14:44:14 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.9ms) Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-15 14:44:14 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-15 14:44:14 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-15 19:44:14.420625', "current_sign_in_at" = '2013-02-15 19:44:14.420625', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-15 19:44:14.421961' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 288ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-15 14:44:14 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 291ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (6.9ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (12.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:27:53', '2013-02-21 14:27:53', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (16.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:27:53 UTC", "updated_at"=>"2013-02-21 14:27:53 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:27:53 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:27:53 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 114ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms) Completed 200 OK in 204ms (Views: 201.0ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'yPxB2E5Rs1oyQz59sDXN' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'yPxB2E5Rs1oyQz59sDXN', "reset_password_sent_at" = '2013-02-21 14:27:53.672323', "updated_at" = '2013-02-21 14:27:53.674570' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (90ms) Date: Thu, 21 Feb 2013 09:27:54 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51262eeaaee1_c4ef3fc4c9c35adc670f2@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 469ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.7ms) Completed 200 OK in 82ms (Views: 80.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$JMXkTJTuvhGkvcCQ6A4E2.P4d5AyUaB2NmShQr0LhygwPGQmTB5gG"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms) Completed 200 OK in 79ms (Views: 76.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$qX1tB3SfRWwngN8du6GEmOMWb3PofAqjSoZ1OrK99EzDlvU6ykTaS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:27:54.536631', "current_sign_in_at" = '2013-02-21 14:27:54.536631', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:27:54.537789' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 17ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 64ms (Views: 61.6ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0R781FI9QStrkbD4LDl14ugxw.XDrvQioPXuoz/QBl645tbVl.Kga"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:27:54 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.9ms) Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:27:54 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:27:55.061788', "current_sign_in_at" = '2013-02-21 14:27:55.061788', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:27:55.064159' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 315ms (Views: 0.6ms | ActiveRecord: 1.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:27:55 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 317ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:40:56', '2013-02-21 14:40:56', 349534908) [1m[36m (16.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (28.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:40:56 UTC", "updated_at"=>"2013-02-21 14:40:56 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:40:56 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:40:56 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 171ms (ActiveRecord: 1.4ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (17.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.9ms) Completed 200 OK in 311ms (Views: 305.9ms | ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zXSsfJs3iBhqVozjszag' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zXSsfJs3iBhqVozjszag', "reset_password_sent_at" = '2013-02-21 14:40:57.248605', "updated_at" = '2013-02-21 14:40:57.250259' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (95ms) Date: Thu, 21 Feb 2013 09:40:57 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512631f99d690_c73d3fdb50435ad848843@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 516ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.9ms) Completed 200 OK in 121ms (Views: 119.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MSSs7UiCan4J/bs3q/PIC.bRzd/1nXa6pPEeCghVq39OxN8Dxjw0q"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 43ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms) Completed 200 OK in 100ms (Views: 98.1ms | ActiveRecord: 0.0ms) [1m[35m (19.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$1YHqPkdG6vIb6eRqNjfXqOEEmFZsSTlXnTz5TZ6ve/KiWZbnI9aR6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:40:58.299467', "current_sign_in_at" = '2013-02-21 14:40:58.299467', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:40:58.300677' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 17ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 84ms (Views: 81.4ms | ActiveRecord: 0.2ms) [1m[36m (413.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$H5DG8DadPOkV1JHWM.2Y7ObWNM.6LW7og3y4bnCgXL2.BwfVzR76O"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:40:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 11ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms) Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms) [1m[35m (9.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:40:58 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:40:59.271661', "current_sign_in_at" = '2013-02-21 14:40:59.271661', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:40:59.273166' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 327ms (Views: 0.5ms | ActiveRecord: 0.8ms) [1m[35m (15.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:40:59 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 317ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 999914115) [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-21 14:42:08', '2013-02-21 14:42:08', 349534908) [1m[36m (8.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (16.6ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-21 14:42:08 UTC", "updated_at"=>"2013-02-21 14:42:08 UTC"}} [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:42:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 21 Feb 2013 14:42:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 152ms (ActiveRecord: 1.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (10.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 10ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (6.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.0ms) Completed 200 OK in 229ms (Views: 225.0ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dLh6q84cW5d19yVa27j5' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'dLh6q84cW5d19yVa27j5', "reset_password_sent_at" = '2013-02-21 14:42:09.490700', "updated_at" = '2013-02-21 14:42:09.492199' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (136ms) Date: Thu, 21 Feb 2013 09:42:10 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51263241f2732_c79c3fcc78835ad43883@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 621ms (ActiveRecord: 0.0ms) [1m[36m (5.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.2ms) Completed 200 OK in 145ms (Views: 143.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$o7IRud1lHTdAqU3PKQPQTOH7GzlZ04SP1WnbH4wi1MciwRyg1jNda"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 30ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms) Completed 200 OK in 106ms (Views: 104.3ms | ActiveRecord: 0.0ms) [1m[35m (119.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$6IRNCj2f0B/sVwdEjDUVve/q3CBZChIp7xGV1gnV6LXHd1.ilnbb6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:42:10.912143', "current_sign_in_at" = '2013-02-21 14:42:10.912143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:42:10.913357' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 16ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:10 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 79ms (Views: 76.8ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 21 Feb 2013 14:42:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3iOzLxkbHv5irWyTnKqHtOOXeAzw9tPmz4qYa3fbN9//T0AnBVQSi"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Thu, 21 Feb 2013 14:42:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 12ms Started GET "/users/login" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms) Completed 200 OK in 31ms (Views: 29.4ms | ActiveRecord: 0.0ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-21 14:42:11.488974', "current_sign_in_at" = '2013-02-21 14:42:11.488974', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-21 14:42:11.490524' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 335ms (Views: 0.4ms | ActiveRecord: 0.9ms) [1m[35m (36.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-21 09:42:11 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 320ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 14:31:17', '2013-02-26 14:31:17', 349534908) [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (4.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 14:31:17 UTC", "updated_at"=>"2013-02-26 14:31:17 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 14:31:18 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 14:31:18 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 137ms (ActiveRecord: 1.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169 [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.5ms) Completed 200 OK in 184ms (Views: 180.4ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ZV67nri2ktxDGq7fHfsQ' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'ZV67nri2ktxDGq7fHfsQ', "reset_password_sent_at" = '2013-02-26 14:31:18.518405', "updated_at" = '2013-02-26 14:31:18.520467' WHERE "users"."id" = 201799169[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (77ms) Date: Tue, 26 Feb 2013 09:31:19 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cc736f24ce_78e53feaed835adc4768c@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 587ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.6ms) Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Q4v.JaSBoqEEUk2RidIrmu.IQ9.ZjPTbh1el9GF4Ut7EAZhdOQDw2"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 47ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.2ms) Completed 200 OK in 35ms (Views: 33.6ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$4svCDXEQD57WVIc8ZH0mIOF5ic/Bj9dO6CcsX2u4WJklK8L7yG9ZS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-26 14:31:19.562091', "current_sign_in_at" = '2013-02-26 14:31:19.562091', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-26 14:31:19.563325' WHERE "users"."id" = 999914116 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 16ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1 Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$PJ0ZfGwaSXRlk8aVgVw8H.iuyg6M0qit6Fhz16HuzuSUib2Lp5f7C"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Tue, 26 Feb 2013 14:31:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 12ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (57.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.0ms) Completed 200 OK in 85ms (Views: 83.0ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 09:31:19 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-26 14:31:20.122924', "current_sign_in_at" = '2013-02-26 14:31:20.122924', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-26 14:31:20.124579' WHERE "users"."id" = 201799169 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 324ms (Views: 0.7ms | ActiveRecord: 0.8ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 09:31:20 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 313ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.9ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (12.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 864673665, 201799169)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:11:29', '2013-02-26 15:11:29', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:11:29 UTC", "updated_at"=>"2013-02-26 15:11:29 UTC"}} [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (43.0ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:11:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:11:29 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 261ms (ActiveRecord: 43.8ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (78.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 500 Internal Server Error in 1348ms [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'wcVff3hFzwXEvXxxFzbV' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "wcVff3hFzwXEvXxxFzbV"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:11:31 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:11:31 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (82.9ms) Date: Tue, 26 Feb 2013 10:11:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd0a3a0a11_81313fe018435ad41fb@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 351ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (99.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (105.4ms) Completed 500 Internal Server Error in 232ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 55ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wRNbXHHDaGCMZdvXRv1BGu2U8uUw0jIA46mJjtPv2WoEdtPSndDTa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 500 Internal Server Error in 159ms [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FoRPHmIHE0lsk1JF9FaIxuXvKIb9u9SVQ6Iq9s6G99mWXF44ywAEe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:11: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", Tue, 26 Feb 2013 15:11:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wd8AVdOrq4ECFjZ.NcUB9.hbiMJ0XwgXqRhYGxuCTGAQbrJwaqWB2"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:11:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (33.0ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:11:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:11:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.3ms) Completed 500 Internal Server Error in 80ms [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:11:33 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:11:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (161.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:11:33 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:11:33 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:11:33 UTC +00:00]] [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 486ms (Views: 0.7ms | ActiveRecord: 161.8ms) [1m[36m (296.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:11:34 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 299ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (9.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (16.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:15:38', '2013-02-26 15:15:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:15:38', '2013-02-26 15:15:38', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:15:38', '2013-02-26 15:15:38', 864673665, 201799169)[0m [1m[35mFixture Delete (1.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:15:39', '2013-02-26 15:15:39', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:15:39', '2013-02-26 15:15:39', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:15:39', '2013-02-26 15:15:39', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:15:39', '2013-02-26 15:15:39', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:15:38 UTC", "updated_at"=>"2013-02-26 15:15:38 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (42.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:15:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:15:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 113ms (ActiveRecord: 43.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms) Completed 200 OK in 2146ms (Views: 2142.0ms | ActiveRecord: 1.0ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'L7AK3HReooprg1y2n4sL' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "L7AK3HReooprg1y2n4sL"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:15:41 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:15:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (83.1ms) Date: Tue, 26 Feb 2013 10:15:41 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd19ddf58b_81fc3fc8a1035ad0159f2@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 355ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (42.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (48.2ms) Completed 200 OK in 138ms (Views: 136.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:15:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 38ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:15:42 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$wxlRN.bhakGECQeOKo13POQEGbXXlgfVUK6gtjc0FG0eq70EZQEdq"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:15:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:15:42 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:15:42 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms) Completed 200 OK in 113ms (Views: 110.9ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:15:42 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.3ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:15:42 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$AcwG.K0cXVdG/tpqd28nFOc3i7YIEM/xyXSXFKoaqjNMYbdNRWHX2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:15:42 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:15:42 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:15:42 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:15:42 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", Tue, 26 Feb 2013 15:15:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:15:43 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$MKgwBBMlIwqbpBoBkgoe6uKM33Yj3sEdHVucclsav6KdQPVmbf/3K"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:15:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.3ms) Completed 200 OK in 35ms (Views: 32.7ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:15:43 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:15:43 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:15:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 299ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[36m (32.0ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:15:43 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 298ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (16.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 864673665, 201799169)[0m [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:18:45', '2013-02-26 15:18:45', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:18:45 UTC", "updated_at"=>"2013-02-26 15:18:45 UTC"}} [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (42.9ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:18:46 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:18:46 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 194ms (ActiveRecord: 43.8ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (35.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 534ms (Views: 530.1ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5NijHdseqqa8YyM4Mtik' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "5NijHdseqqa8YyM4Mtik"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:18:47 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:18:47 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (74.1ms) Date: Tue, 26 Feb 2013 10:18:47 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd2575ee40_82bf3fe14d835ae0786f5@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 440ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (75.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (82.5ms) Completed 200 OK in 144ms (Views: 143.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:18:47 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 54ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:18:47 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$s4celVuGxkixV6DF78X9F.aQuubPzxxTLJFGYhtJrCeciGPRWtQwC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:18:47 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:18:47 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 115ms (Views: 112.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (12.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Mn/wG74ToFbMLuWFN6hKNOqFww1Lm75teSB2dBzcNH1hmh7Wa4pAu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.1ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:18:48 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", Tue, 26 Feb 2013 15:18:48 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 24ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$9jMj2hy5dj0mXfTNoYGQSuXm3t98lVuO0GyZfMhulLV8wvT7.Auv6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.5ms) Completed 200 OK in 81ms (Views: 79.2ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:18:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 299ms (Views: 0.4ms | ActiveRecord: 1.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:18:48 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 303ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.8ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:38:48', '2013-02-26 15:38:48', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:38:48 UTC", "updated_at"=>"2013-02-26 15:38:48 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (4.1ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:38:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:38:49 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 169ms (ActiveRecord: 4.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.6ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 246ms (Views: 242.0ms | ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5hTP5PqctQARCsdx4BhG' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "5hTP5PqctQARCsdx4BhG"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:38:49 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:38:49 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (41.5ms) Date: Tue, 26 Feb 2013 10:38:49 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd709c0fd6_86d73ff3e0c35adc585aa@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 334ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (18.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (23.4ms) Completed 200 OK in 105ms (Views: 104.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:38:49 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 63ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$sE9fmECqTOerl4xaloT5GOBHYMAAVvUNFrp4g2cQRRQDgSMt/9eou"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 40ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$a9C8DsAu3We7kjdMqoKYH.waYeI2udQsJNstWrWxgJlC8dTWYXeuW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:38:50 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", Tue, 26 Feb 2013 15:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 20ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$QpDdcL1z6ii3GM0eJZLpuOz5mgQiLsMH2eMWP84CRVTBd6jRfQs9e"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 32ms (Views: 30.0ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:38:50 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:38:51 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:38:51 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:38:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 302ms (Views: 0.4ms | ActiveRecord: 1.4ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:38:51 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 311ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:40:32', '2013-02-26 15:40:32', 349534908) [1m[36m (7.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:40:32 UTC", "updated_at"=>"2013-02-26 15:40:32 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (17.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:40:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:40:32 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 123ms (ActiveRecord: 18.1ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (27.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 250ms (Views: 245.7ms | ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'aaXaqsSuMnNhSMsrnikr' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "aaXaqsSuMnNhSMsrnikr"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:40:33 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:40:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (40.5ms) Date: Tue, 26 Feb 2013 10:40:33 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd77138f56_872e3fd5d8c35ad0645cd@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 292ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (18.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (23.8ms) Completed 200 OK in 132ms (Views: 130.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:40:33 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 38ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:40:33 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$UTxiZHrDwCtQk6gH.Jtv.OIe9T4Oq3jeyoZSvpBwKJ3KwnSKDtg2K"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:40:33 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:40:33 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:40:33 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$54dDr3u/.g.AM9zNvq1sVes9rRdJsATPGrik/jJXxws7t8ObaZz/a"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:40: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", Tue, 26 Feb 2013 15:40:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 20ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 10ms (Views: 4.4ms | ActiveRecord: 0.3ms) [1m[36m (17.4ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ETLlAwQPfBbJ9dCsAJHsFeFIlD2H0hUfnJY6Yo12ax8F4.pAIjx8."], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.9ms) Completed 200 OK in 32ms (Views: 29.8ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:40:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 300ms (Views: 0.4ms | ActiveRecord: 1.4ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:40:34 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 290ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (35.1ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 999914115) [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 725306934)[0m [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 15:49:34', '2013-02-26 15:49:34', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 15:49:34 UTC", "updated_at"=>"2013-02-26 15:49:34 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (38.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 15:49:34 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 15:49:34 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 169ms (ActiveRecord: 39.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.6ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 10ms (ActiveRecord: 1.3ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (44.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 587ms (Views: 581.4ms | ActiveRecord: 0.8ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'mBKQJHSuMFjFsrTf4yMF' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "mBKQJHSuMFjFsrTf4yMF"], ["reset_password_sent_at", Tue, 26 Feb 2013 15:49:35 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 15:49:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (56.2ms) Date: Tue, 26 Feb 2013 10:49:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cd98fc9450_88d73fe644435ad426589@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 375ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (49.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (56.8ms) Completed 200 OK in 193ms (Views: 192.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:49:36 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 54ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.3ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:49:36 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ATJtYQaf8/S1ncd09Utsj.k1N02UWAjRxKpDypuXzoJsd95EdlIzG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 15:49:36 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:49:36 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 20ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:49:36 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.6ms) Completed 200 OK in 142ms (Views: 139.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:49:36 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7MNZcWKI7VDXwfOu4OOmRuWqc5ionegjD8jlRXj132nGIVJJUzat."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:49:37 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", Tue, 26 Feb 2013 15:49:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 23ms (Views: 18.3ms | ActiveRecord: 0.2ms) [1m[36m (9.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.wzjVF9mDzsB0IUsezvs8OshmTlO2mzQHn7UkOnL.w70PGAoIAwQC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 50ms (Views: 47.7ms | ActiveRecord: 0.0ms) [1m[36m (11.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (23.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 15:49:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 321ms (Views: 0.4ms | ActiveRecord: 1.4ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 10:49:37 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 297ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (25.9ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 864673665, 201799169)[0m [1m[35mFixture Delete (5.5ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 999914115) [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 725306934)[0m [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 16:08:16', '2013-02-26 16:08:16', 349534908) [1m[36m (12.4ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 16:08:16 UTC", "updated_at"=>"2013-02-26 16:08:16 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (51.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 16:08:16 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 16:08:16 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 169ms (ActiveRecord: 52.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (65.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms) Completed 200 OK in 604ms (Views: 600.5ms | ActiveRecord: 0.7ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KFUFYRQyDyix6ExJWEZy' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "KFUFYRQyDyix6ExJWEZy"], ["reset_password_sent_at", Tue, 26 Feb 2013 16:08:17 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 16:08:17 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (41.4ms) Date: Tue, 26 Feb 2013 11:08:17 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cddf1bf444_8c343fd840435adc878e8@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 345ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (50.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (55.7ms) Completed 200 OK in 174ms (Views: 173.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 11:08:18 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 39ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 16:08:18 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$L.qVErs/4tIq9oPmVf6iKOU3uhW3Fm0SUpfbd5S3FN.kTFE6cP3R2"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 16:08:18 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (1.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 11:08:18 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 11:08:18 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 167ms (Views: 164.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 11:08:18 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 47ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$077gADk8wTavsbQhIy1NBOsZKe0PDmLjHqF.ytHmSUz8ZjQ5rIiHW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 16:08:19 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", Tue, 26 Feb 2013 16:08:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 21ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SiKJcDwvpf6Ki3NLEzcLE.qhpa.RsP4kRQZg/sDmCshqtVqLsx7re"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 12ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 33ms (Views: 31.0ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 16:08:19 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 296ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[36m (26.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 11:08:19 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 297ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (18.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:45:41', '2013-02-26 17:45:41', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 17:45:41 UTC", "updated_at"=>"2013-02-26 17:45:41 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (27.2ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 17:45:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 17:45:41 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 162ms (ActiveRecord: 27.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.3ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 1052ms (Views: 1047.7ms | ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'RmVii3g7ySg6jttpzVq1' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "RmVii3g7ySg6jttpzVq1"], ["reset_password_sent_at", Tue, 26 Feb 2013 17:45:43 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 17:45:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47.3ms) Date: Tue, 26 Feb 2013 12:45:43 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cf4c783964_9b123fe9c4c35ad0813df@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 261ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (19.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (24.7ms) Completed 200 OK in 78ms (Views: 75.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:45:43 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 29ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.3ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:45:43 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$vYCiFwjvdkzHv1ZWvxf8I.R5jfrmiZCjiv6rXN7BUGYpfuUPrytfC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 17:45:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:45:43 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 39ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 110ms (Views: 107.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$PhJl6Z8OUcRbY.vXkEF6butL2zygceJ/NHJ66y8gz7lnT4ftXTs8y"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:45:44 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", Tue, 26 Feb 2013 17:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 21ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$jtp0C9jR4WMaho0hmLnQ/.wmf35RIP.QZPD2fQIDnrysU04zs8P6q"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.0ms) Completed 200 OK in 34ms (Views: 32.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 17:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 302ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:45:44 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 291ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:50:30', '2013-02-26 17:50:30', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 17:50:30 UTC", "updated_at"=>"2013-02-26 17:50:30 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (27.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 17:50:31 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 17:50:31 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 119ms (ActiveRecord: 28.2ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.0ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (29.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 237ms (Views: 233.3ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sEnZQdwqYWajpDhuxUnA' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "sEnZQdwqYWajpDhuxUnA"], ["reset_password_sent_at", Tue, 26 Feb 2013 17:50:31 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 17:50:31 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (39.8ms) Date: Tue, 26 Feb 2013 12:50:31 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cf5e77c7b6_9ca63ffa9dc35adc783d1@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 342ms (ActiveRecord: 0.0ms) [1m[36m (21.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (18.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (23.8ms) Completed 200 OK in 109ms (Views: 108.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:50:31 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 37ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$mqoW1bb/hIgkx67uMR8PouSw/tBDbx2DWsPbQQ/VTawsttdW/mhNa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms) Completed 200 OK in 49ms (Views: 47.2ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YDJc/COy0XxXbM0SsjR5QehtVWhGpiWvoHf7kfsdioEuVWcXDWsyS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:50: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", Tue, 26 Feb 2013 17:50:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lNJVq8ODwduWursEeRaShOEyi85CxG9LsUw7qPHTgoG6okvZ4jHDq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 17:50:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.8ms) Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.0ms) [1m[36m (6.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:50:32 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 17:50:33 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:50:33 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 17:50:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 298ms (Views: 0.4ms | ActiveRecord: 1.2ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:50:33 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 292ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-26 17:54:29', '2013-02-26 17:54:29', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-26 17:54:29 UTC", "updated_at"=>"2013-02-26 17:54:29 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Feb 2013 17:54:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 26 Feb 2013 17:54:29 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 89ms (ActiveRecord: 4.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (28.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 247ms (Views: 242.6ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'tAEzrTAuyzLnRzspH4PY' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "tAEzrTAuyzLnRzspH4PY"], ["reset_password_sent_at", Tue, 26 Feb 2013 17:54:29 UTC +00:00], ["updated_at", Tue, 26 Feb 2013 17:54:29 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (38.3ms) Date: Tue, 26 Feb 2013 12:54:29 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <512cf6d5b9ee5_9d493fd11d435ad459298@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 231ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (18.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (23.3ms) Completed 200 OK in 107ms (Views: 105.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:54:29 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$WUlx.4o272A7u9rBf0tY1uDp7zde5g.nqLoWUBcXPcz5U5Ii.pIZO"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 16ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms) Completed 200 OK in 51ms (Views: 48.5ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$LnMEf/B.4.WoJqB07oaKR.iuPb8E3fPZT02ZzZ638yA3ODNewlJHy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:54: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", Tue, 26 Feb 2013 17:54:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 21ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$uEuhRL7wmLoHlHeKhj.XgugGA2826GqfkmsPXOBDjLZT9lA9x17zG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.2ms) Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:54:30 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["current_sign_in_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 26 Feb 2013 17:54:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 298ms (Views: 0.4ms | ActiveRecord: 1.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-26 12:54:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 294ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:11:54', '2013-03-07 15:11:54', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.5ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:11:54 UTC", "updated_at"=>"2013-03-07 15:11:54 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (27.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:11:55 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:11:55 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 98ms (ActiveRecord: 28.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (34.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms) Completed 200 OK in 373ms (Views: 368.6ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rzWHHbeBzM81itKQxZcm' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.2ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "rzWHHbeBzM81itKQxZcm"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:11:55 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:11:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (93.7ms) Date: Thu, 07 Mar 2013 10:11:55 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138ae3baa378_1280f3fd5bdc35adc858bc@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 288ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (20.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.6ms) Completed 200 OK in 90ms (Views: 89.1ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:11:55 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 53ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$1KREo7I3blrWUGTfTTRR6uFKiNi86ZBm6jXI1jOPGjZ0p9LbG8rcG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.4ms) Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$IhNy9iMMzD0pcxpoAgvh/ObZth1JQAEMhWaQ1hFPILnx3w8vy1nJ2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:11:56 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", Thu, 07 Mar 2013 15:11:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$FLB4udjPGqk2Smt6biH2I.ZeVSGstve3s8H9ndPJOqGLc0Lkrfb9a"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:11:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.2ms) Completed 200 OK in 37ms (Views: 34.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:11:56 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:11:57 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:11:57 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:11:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 363ms (Views: 1.0ms | ActiveRecord: 1.6ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:11:57 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 373ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:18:42', '2013-03-07 15:18:42', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:18:42', '2013-03-07 15:18:42', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:18:42', '2013-03-07 15:18:42', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:18:43', '2013-03-07 15:18:43', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:18:43', '2013-03-07 15:18:43', 999914115) [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:18:43', '2013-03-07 15:18:43', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:18:43', '2013-03-07 15:18:43', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:18:42 UTC", "updated_at"=>"2013-03-07 15:18:42 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (4.1ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:18:43 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:18:43 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.5ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.0ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (34.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 324ms (Views: 319.8ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xLqtpnSjF2U8243Vdqxs' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "xLqtpnSjF2U8243Vdqxs"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:18:43 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:18:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (91.8ms) Date: Thu, 07 Mar 2013 10:18:43 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138afd3ca9ae_129273fe88a035ae079765@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 259ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (23.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.5ms) Completed 200 OK in 73ms (Views: 71.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [Devise] Could not find devise mapping for path "/users/login.json?user%5Bemail%5D=valid%40example.com&user%5Bpassword%5D=password". This may happen for two reasons: 1) You forgot to wrap your route inside the scope block. For example: devise_scope :user do get "/some/route" => "some_devise_controller" end 2) You are testing a Devise controller bypassing the router. If so, you can explicitly tell Devise which mapping to use: @request.env["devise.mapping"] = Devise.mappings[:user] Completed 404 Not Found in 1ms [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 32ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xdha/tO4aMud4vAYCaJtQujyowpZJAjufHX9x.m/0MM5V0VYj2z3i"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.4ms) Completed 200 OK in 104ms (Views: 102.1ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$fPTn0QGIzjXL6C86qXrTRejG6F6Iv8bGmv.mETT8FxPa7s22oeEca"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:18:44 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", Thu, 07 Mar 2013 15:18:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$rXiS3o4hmoFWz7hDQP5EEOG7zN4djedkvNc/pE/lHNEdbUezN/Eeu"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:18:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.6ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.3ms) Completed 200 OK in 37ms (Views: 35.1ms | ActiveRecord: 0.0ms) [1m[35m (1.0ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:18:44 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:18:45 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:18:45 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:18:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 326ms (Views: 0.5ms | ActiveRecord: 1.3ms) [1m[35m (14.4ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:18:45 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 316ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (19.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:21:01', '2013-03-07 15:21:01', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:21:01 UTC", "updated_at"=>"2013-03-07 15:21:01 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:21:02 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:21:02 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (32.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.6ms) Completed 200 OK in 288ms (Views: 283.5ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'RU9oioyzpMzqVtzkJow8' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "RU9oioyzpMzqVtzkJow8"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:21:02 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:21:02 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (99.0ms) Date: Thu, 07 Mar 2013 10:21:02 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b05eb409f_1298c3fd535035ad03127f@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 236ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (21.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.2ms) Completed 200 OK in 76ms (Views: 74.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 500 Internal Server Error in 325ms [1m[35m (0.8ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 34ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9GyRCpiiSGLQtjGueR.UY.61z8sHEmWTSglE1ffaD3PlNRI4l8zhG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.7ms) Completed 200 OK in 106ms (Views: 103.1ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.3ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$DPEf8xf/sF6X7QlY8/69gONLUgk5DKNzU.l8nZOEkdgg69./wQrdq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:21:03 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", Thu, 07 Mar 2013 15:21:03 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$6z1WD2m4mVFjQVCUijqrheY5zwFpQlQ0vhl/QxH0xq0Tp.bdkhYYe"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:21:03 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 13ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.2ms) Completed 200 OK in 39ms (Views: 36.7ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:21:03 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:21:04 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:21:04 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:21:04 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 326ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[35m (40.1ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:21:04 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 318ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:23:24', '2013-03-07 15:23:24', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:23:24 UTC", "updated_at"=>"2013-03-07 15:23:24 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (29.3ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:23:24 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:23:24 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 81ms (ActiveRecord: 29.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.6ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (14.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.9ms) Completed 200 OK in 338ms (Views: 333.3ms | ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '67rrgYiVGCBbKdezcopS' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "67rrgYiVGCBbKdezcopS"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:23:25 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:23:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (102.5ms) Date: Thu, 07 Mar 2013 10:23:25 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b0ed7f028_12a053fd7c5835ae073671@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 276ms (ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (22.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.1ms) Completed 200 OK in 72ms (Views: 70.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.0ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 326ms (Views: 1.1ms | ActiveRecord: 1.7ms) [1m[35m (0.6ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 34ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Kvz2U15QDXS7gq9KmQWrzu8K2Yy7l/Bl3b/5ENywdOrcr0AhgBM0a"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.6ms) Completed 200 OK in 113ms (Views: 110.6ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$g3/wh7Gr8xhTUU0Cs1QRpueHKF6fEk4txcKNK4cf5lfcqr50kg/CW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:23: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", Thu, 07 Mar 2013 15:23:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$YHR3yD5DRyN7B3JssMxDNOrxS0fXG7FGDjlA2q1JP93P8SGZSq/He"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:23:26 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms) Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.0ms) [1m[35m (0.8ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:23:26 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:23:27 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:23:27 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:23:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 332ms (Views: 0.4ms | ActiveRecord: 1.5ms) [1m[35m (0.7ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:23:27 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 316ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 949717663, 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 876923740, 201799169) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 864673665, 201799169)[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:24:42', '2013-03-07 15:24:42', 349534908) [1m[36m (26.0ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mAuthentication Load (0.5ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.4ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:24:42 UTC", "updated_at"=>"2013-03-07 15:24:42 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (5.2ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:24:43 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:24:43 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 65ms (ActiveRecord: 6.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.4ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (39.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 294ms (Views: 288.7ms | ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Hw4Nb7oXowtWapWHkHma' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Hw4Nb7oXowtWapWHkHma"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:24:43 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:24:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (97.1ms) Date: Thu, 07 Mar 2013 10:24:43 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b13bd0d4a_12a403fe716035ad8502a9@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 234ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (22.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.3ms) Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.9ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:24:44 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:24:44 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:24:44 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 324ms (Views: 0.8ms | ActiveRecord: 1.4ms) [1m[35m (0.8ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:24:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 40ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:24:44 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DRsIdOnHBVBiDbIrqF2IoOtrKOf/icZ2uwU.A/HQiueT6.7vMlE.u"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:24:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:24:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 21ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:24:44 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.3ms) Completed 200 OK in 126ms (Views: 123.4ms | ActiveRecord: 0.0ms) [1m[35m (29.4ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iB8HXtORdn/OapKdQkHjGOt9.ZYclXdQTnfcaXzPzbQVuYqwVV9/O"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:24:45 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", Thu, 07 Mar 2013 15:24:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 24ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.2ms) [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (16.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$e0r87irUALmT5eD2ji.Tl.CEb9HD1YfKnk.4Wf9lwLn0lod8swYn6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.8ms) Completed 200 OK in 42ms (Views: 38.9ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 4ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:24:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 324ms (Views: 0.7ms | ActiveRecord: 1.3ms) [1m[35m (0.7ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:24:45 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 314ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (19.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 864673665, 201799169)[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:25:25', '2013-03-07 15:25:25', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:25:25 UTC", "updated_at"=>"2013-03-07 15:25:25 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.3ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:25:25 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:25:25 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 56ms (ActiveRecord: 4.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 279ms (Views: 273.3ms | ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'k7GxYqyiLHycfQEoqBEA' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "k7GxYqyiLHycfQEoqBEA"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:25:25 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:25:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (100.0ms) Date: Thu, 07 Mar 2013 10:25:25 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b165e5a12_12a613fef80c35adc988cc@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 237ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (23.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.8ms) Completed 200 OK in 78ms (Views: 76.9ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.1ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 320ms (Views: 1.0ms | ActiveRecord: 1.6ms) [1m[35m (0.7ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:25:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 34ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$CJJFkSx002EXRrbIPhuT0u6/Bp7iiCL/j0mZxJN7OoRyi1xfvMyxq"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:25:26 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:25:26 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.7ms) Completed 200 OK in 112ms (Views: 108.5ms | ActiveRecord: 0.0ms) [1m[35m (36.2ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:25:26 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$m74iW96gKS28oxGVb3Y7lONMySpTk0Qy28DufrOKioKi.ArJbtZNm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:25:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:25: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", Thu, 07 Mar 2013 15:25:27 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SuoKejjUzCoSzaQRcOiuNOFphHsMRVO66eZQaD0RzxCBm.7ks.8La"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.1ms) Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.9ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:25:27 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 327ms (Views: 0.4ms | ActiveRecord: 1.5ms) [1m[35m (1.0ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:25:27 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 319ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:26:10', '2013-03-07 15:26:10', 349534908) [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:26:10 UTC", "updated_at"=>"2013-03-07 15:26:10 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:26:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:26:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 55ms (ActiveRecord: 4.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (34.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 282ms (Views: 277.7ms | ActiveRecord: 0.7ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'CijUz3ZeSijkcryqoqmf' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "CijUz3ZeSijkcryqoqmf"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:26:10 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:26:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (96.8ms) Date: Thu, 07 Mar 2013 10:26:10 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b192cad1c_12a923fd330c35ad08748@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 235ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (20.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (26.4ms) Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (14.6ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:26:11 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:26:11 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:26:11 UTC +00:00]] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 346ms (Views: 1.1ms | ActiveRecord: 15.4ms) [1m[35m (145.8ms)[0m rollback transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m rollback transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (16.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:26:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 116ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:26:11 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$HoOE2b7WgtgMe3gZBuaoIejHglQHWnCqAyDu9It.tJ2akxPxm.INu"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:26:11 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:26:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (7.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.9ms) Completed 200 OK in 113ms (Views: 110.9ms | ActiveRecord: 0.0ms) [1m[35m (377.1ms)[0m rollback transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:26:12 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$23Sun5mlnlyG6tR6MGdfMOeqEohGCx1uv.1ZM.tutua4Mr86IOKQq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:26:12 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "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" = 999914116[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:26:12 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:26:12 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", Thu, 07 Mar 2013 15:26:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/logged_in_page Completed 302 Found in 25ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1[0m Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.2ms) [1m[35m (1.2ms)[0m rollback transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:26:12 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$DD/woUWC6NruWeWPHs/U7.biQKZW31DzISlzYWdJ5yyxv7SFZvFxW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:26:12 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116 Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (6.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.9ms) Completed 200 OK in 53ms (Views: 50.0ms | ActiveRecord: 0.0ms) [1m[35m (0.9ms)[0m rollback transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:26:12 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:26:13 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:26:13 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:26:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 356ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[35m (0.8ms)[0m rollback transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:26:13 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m Completed 401 Unauthorized in 320ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:28:09', '2013-03-07 15:28:09', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:28:09 UTC", "updated_at"=>"2013-03-07 15:28:09 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:28:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:28:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 9ms (ActiveRecord: 1.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (32.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms) Completed 200 OK in 283ms (Views: 278.3ms | ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'btdx5ugTfeNmdiyFxo3G' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "btdx5ugTfeNmdiyFxo3G"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:28:10 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:28:10 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (100.0ms) Date: Thu, 07 Mar 2013 10:28:10 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b20a9e177_12b1c3ff8a9035ad4915ad@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 238ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (21.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.0ms) Completed 200 OK in 77ms (Views: 75.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.9ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 321ms (Views: 0.8ms | ActiveRecord: 1.5ms) [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$h/ZKszmG04iZMEKo021qeubAE4/q3z5W4f4VmzFNHkWDV57p8FnKa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (6.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 114ms (Views: 111.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$EGgi6Qo0M1ZOLGORoSOPPuxTplF2mTBLg/zfv93.py9OJPSHu8xNa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:28:11 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", Thu, 07 Mar 2013 15:28:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 24ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ngpRzphO9Dzidn5S1Smi.e2FuBVO24IMeZuO4zm3vCo3aFtqL86OO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:28:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.0ms) Completed 200 OK in 38ms (Views: 36.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:28:11 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:28:12 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:28:12 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:28:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 330ms (Views: 0.3ms | ActiveRecord: 1.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:28:12 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 314ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:29:59', '2013-03-07 15:29:59', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:29:59 UTC", "updated_at"=>"2013-03-07 15:29:59 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:29:59 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:29:59 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.5ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms) Completed 200 OK in 304ms (Views: 300.1ms | ActiveRecord: 0.7ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JJgw9stahxBxxg7jyGAd' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "JJgw9stahxBxxg7jyGAd"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:30:00 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:30:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (99.8ms) Date: Thu, 07 Mar 2013 10:30:00 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b27864c43_12b603fdd58835ad4338a7@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 241ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (22.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (33.7ms) Completed 200 OK in 80ms (Views: 79.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 325ms (Views: 0.8ms | ActiveRecord: 1.4ms) [1m[35m (0.9ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_invalid_credentials ---------------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 7ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.5ms) Completed 200 OK in 57ms (Views: 54.3ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (47.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ywKkX9fyD.97PaGvwSffWO1b3N9dOQUSDCzryCfb9GnwdHEPdwYoe"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.4ms) Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$NmwgoVMVM4Y0NAkb3TuSNerc/T3VapYRm57C1OGrexm4.hYhGfrJ."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:30:01 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", Thu, 07 Mar 2013 15:30:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 23ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (16.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$G9ovwC6Jw7xNcuTmyKSNLOUv/eCaDfshr90QrdMbyjZUp3kicl5B2"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:30:01 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.5ms) Completed 200 OK in 38ms (Views: 35.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:30:01 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:30:02 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:30:02 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:30:02 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 366ms (Views: 0.3ms | ActiveRecord: 1.3ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:30:02 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 319ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:31:43', '2013-03-07 15:31:43', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:31:43 UTC", "updated_at"=>"2013-03-07 15:31:43 UTC"}} [1m[35mAuthentication Load (0.5ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:31:43 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:31:43 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 59ms (ActiveRecord: 4.3ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (31.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.1ms) Completed 200 OK in 282ms (Views: 278.4ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ydgGS4yNq9VuErrpQHzH' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (21.0ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "ydgGS4yNq9VuErrpQHzH"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:31:43 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:31:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (97.3ms) Date: Thu, 07 Mar 2013 10:31:44 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b2e0eaf_12ba23fdc1d435ad816699@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 255ms (ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (24.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (30.4ms) Completed 200 OK in 77ms (Views: 75.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:31:44 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:31:44 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:31:44 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 323ms (Views: 0.7ms | ActiveRecord: 1.5ms) [1m[35m (0.6ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_invalid_credentials ---------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 7ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (6.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:31:44 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 34ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:31:44 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$zrOiU1PkQr0eE65601emke7U.bp3nSNXeDJk68zpuo5aREDGgrB4a"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:31:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:31:44 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.7ms) Completed 200 OK in 38ms (Views: 35.7ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Vg9lZjNIXLFt0dOWzLtt5u9Jq1oDWoBjHXwluC/1wlvzJkiewJ1xm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:31:45 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", Thu, 07 Mar 2013 15:31:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$/KABjQvj1ACLpWH4kSve/u5aSy3V8.shDgzDXO52CraF6d55PkSzm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 15ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.6ms) Completed 200 OK in 42ms (Views: 39.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:31:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 369ms (Views: 0.3ms | ActiveRecord: 1.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:31:45 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 313ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:32:28', '2013-03-07 15:32:28', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:32:28 UTC", "updated_at"=>"2013-03-07 15:32:28 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:32:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:32:29 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (35.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 288ms (Views: 283.4ms | ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pgsBQqsRfXV4zqrDAGu7' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "pgsBQqsRfXV4zqrDAGu7"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:32:29 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:32:29 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (102.3ms) Date: Thu, 07 Mar 2013 10:32:29 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b30dc750f_12bc03fd881835ad88621c@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 270ms (ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (22.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (28.6ms) Completed 200 OK in 77ms (Views: 74.5ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.0ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 326ms (Views: 0.8ms | ActiveRecord: 1.7ms) [1m[35m (0.7ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_invalid_credentials ---------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 7ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.8ms) Completed 200 OK in 57ms (Views: 53.9ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 31ms [1m[35m (0.3ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$.C8yvPbn7vUtxMF1A5qv7ORp3WXX1.lBq3ZpICuS0PPekpCLQ6A8."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 17ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.6ms) Completed 200 OK in 37ms (Views: 34.2ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$.X08QtxyTVgOUadwO2XRReNXDgCCaJNHlDqrDq8fpMzV9PmRqex7q"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:32: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", Thu, 07 Mar 2013 15:32:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4h/nfz9PYy4xO0PRq9aTgOOm2hwvaT3mxF..BKI.NBbRVmDElaORm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:32:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:32:30 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 16ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:32:31 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.4ms) Completed 200 OK in 42ms (Views: 39.6ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:32:31 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:32:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:32:31 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:32:31 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:32:31 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 367ms (Views: 0.5ms | ActiveRecord: 1.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:32:31 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 321ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.2ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-07 15:34:56', '2013-03-07 15:34:56', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-07 15:34:56 UTC", "updated_at"=>"2013-03-07 15:34:56 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (3.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 07 Mar 2013 15:34:56 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 07 Mar 2013 15:34:56 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 4.4ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 10ms (ActiveRecord: 1.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (32.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms) Completed 200 OK in 291ms (Views: 286.2ms | ActiveRecord: 0.7ms) [1m[35m (0.2ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'RtxcC3srywQsByNcDseN' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "RtxcC3srywQsByNcDseN"], ["reset_password_sent_at", Thu, 07 Mar 2013 15:34:56 UTC +00:00], ["updated_at", Thu, 07 Mar 2013 15:34:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (97.5ms) Date: Thu, 07 Mar 2013 10:34:57 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5138b3a118785_12c183fca69435ad04705b@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 240ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (23.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (29.2ms) Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.3ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 07 Mar 2013 15:34:57 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:34:57 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:34:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 325ms (Views: 0.7ms | ActiveRecord: 1.3ms) [1m[35m (0.9ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 7ms (ActiveRecord: 0.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.2ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 8ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.2ms) Completed 200 OK in 60ms (Views: 58.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:34:57 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$V4P7lkBSRtjrK1JQWdVkeOs0w7lD4YOcI3Tzu1S8XiG20EVLIIKDG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (5.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.7ms) Completed 200 OK in 42ms (Views: 39.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$xKbdQMhLX8wiANbclM/G8eKG3FoXR4R5fyQZDaouIvmIJ44tfJp36"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:34:58 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", Thu, 07 Mar 2013 15:34:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 22ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 3ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Tq4yy9Xi0jgq040PmLZ8y.XjUAbkIyGbx8M/Nw7pCzLENaWsfPut6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 14ms Started GET "/users/login" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.3ms) Completed 200 OK in 38ms (Views: 35.0ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["current_sign_in_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 07 Mar 2013 15:34:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 361ms (Views: 0.4ms | ActiveRecord: 1.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.2ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-07 10:34:58 -0500 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 319ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (4.7ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:53:22', '2013-03-20 14:53:22', 349534908) [1m[36m (2.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-20 14:53:22 UTC", "updated_at"=>"2013-03-20 14:53:22 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 90ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.0ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (11.8ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 16ms (ActiveRecord: 12.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 215ms (Views: 213.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'TYWqJDmb3pyTtoyS7B6D' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "TYWqJDmb3pyTtoyS7B6D"], ["reset_password_sent_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["updated_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.7ms) Date: Wed, 20 Mar 2013 10:53:23 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5149cd635de93_64383fc0e446067448a4@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 110ms (ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.8ms) Completed 200 OK in 48ms (Views: 47.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 31ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$EZKviVNecJvlVAhfL1GWJ.cn8gRCh1vXAY8aBibCmbNKsSFZeDdFa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$MZufaafclKZ25GGR5NdDzerPE4QN6Z/f6REUY4.8mG5gZjSX8UQmS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 20 Mar 2013 14:53:23 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 14:53: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", Wed, 20 Mar 2013 14:53:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 10:53:23 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 14:53:24 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$jM3Z6lYkkzAynl7psdW9JuPwdXcJ7H9HihREufe6lZIG7smGIUx4m"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 20 Mar 2013 14:53:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 20 Mar 2013 14:53:24 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 14:53:24 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 14:53:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 10:53:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 75ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:54:14', '2013-03-20 14:54:14', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com"}} [Devise] Could not find devise mapping for path "/users?user%5Bemail%5D=new_registration%40example.com&user%5Bfirst_name%5D=First+Name&user%5Blast_name%5D=Last+Name&user%5Bstatus%5D=active". This may happen for two reasons: 1) You forgot to wrap your route inside the scope block. For example: devise_scope :user do get "/some/route" => "some_devise_controller" end 2) You are testing a Devise controller bypassing the router. If so, you can explicitly tell Devise which mapping to use: @request.env["devise.mapping"] = Devise.mappings[:user] Completed 404 Not Found in 0ms [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 14:54:26', '2013-03-20 14:54:26', 349534908) [1m[36m (3.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com"}} Completed 500 Internal Server Error in 9ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:02:33', '2013-03-20 15:02:33', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 12ms [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up_via_JSON ---------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as JSON Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user_json@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:09:52', '2013-03-20 15:09:52', 349534908) [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 9ms [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up_via_JSON ---------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as JSON Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user_json@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:21:47', '2013-03-20 15:21:47', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (18.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$/PHemVgXBfdJePO3WA4aCuYRAAtH6MAa4quGq7Jrb2BpgnOfKQgr."], ["updated_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 346ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.9ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up_via_JSON ---------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as JSON Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user_json@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user_json@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00], ["email", "new_user_json@example.com"], ["encrypted_password", "$2a$04$QHXA764VGb0VAwBiD/dqiOcC5EHbBB9c1cCYQBQNoZo3UtaATQjOa"], ["updated_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 406 Not Acceptable in 10ms [1m[35m (0.8ms)[0m rollback transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$omrk1IIJH5QRKAKssx8zqe6vBpE38i1kcoE.XAeVavuJUtOvgI/Mu"], ["updated_at", Wed, 20 Mar 2013 15:21:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m [1m[35m (0.5ms)[0m rollback transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:22:24', '2013-03-20 15:22:24', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:22:25 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$K14rmDjaEQdyjtNtawNsQOZE1MA.lPCo9MytKJmGDeUafrQ71hjai"], ["updated_at", Wed, 20 Mar 2013 15:22:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 119ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.0ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:22:25 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$VHs5jGDhwn2bFJoN9dYfser2UtoQUhqLb9kBoyQjpN0zIaaHRw66K"], ["updated_at", Wed, 20 Mar 2013 15:22:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 11ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:22:46', '2013-03-20 15:22:46', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Unpermitted parameters: first_name, last_name [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:22:46 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$U1gsxFFQ1z7CuqmOmCC5he0p88SQA7vbDJ9GGlgziINsjRz9NFCkm"], ["updated_at", Wed, 20 Mar 2013 15:22:46 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 126ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (10.2ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: first_name, last_name, status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:22:47 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$IzoPl38ml5c7fTmO3MQ/VeOYQsWk019Vc2HBBhdcJKpZHLFWvbVwW"], ["updated_at", Wed, 20 Mar 2013 15:22:47 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 11ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:23:59', '2013-03-20 15:23:59', 349534908) [1m[36m (3.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:23:59 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$/u5dJaLAdaAOL.zjeebkU.UEXeoIKakdsVqLmGLo97mKi8LrJI3Qm"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:23:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 120ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (14.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:23:59 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$wNG9LXCBftCKVFkkfoMwHOdANh357SuGwvNtVGT39r44BB2lvCZLC"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:23:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:25:18', '2013-03-20 15:25:18', 349534908) [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:25:18 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$UoJthl.Z9Jku.EH6/mQ8Se66njGjFVn8CwaIQUVepqiXVVxNMSjJO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:25:18 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 122ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:25:18 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$9NJasWZ8yEkKTE1YDuLSjuog7vrvopCo1i6NAWWUfMA7BfkODaAiS"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:25:18 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:25:38', '2013-03-20 15:25:38', 349534908) [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:25:38 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$zAqyHNhm6l6TfyfheDJ.UeeXfKXc/qdwfsIxA3.8VMGRIi8qO.xA."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:25:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 120ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (15.3ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:25:38 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$B.6fZIaZp4fz5XwdDhPcqeRFJ3eg1cPItcP.q.B5unxbGTHAqfYSS"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:25:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:26:27', '2013-03-20 15:26:27', 349534908) [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.3ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:26:27 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$XTDQrRTGp13U5kac3EGdc.xtJUYZcgUPIkmy2FVf1ZtFPmYQJaBOu"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:26:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 128ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (9.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:26:28 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$DZbztnCqZmNP38RbXu7eu.9vPmUWwvt7f2HrBU6Efgq2MyR5HHvtO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:26:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:27:02', '2013-03-20 15:27:02', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:27:02', '2013-03-20 15:27:02', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:27:02', '2013-03-20 15:27:02', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:03', '2013-03-20 15:27:03', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:03', '2013-03-20 15:27:03', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:03', '2013-03-20 15:27:03', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:03', '2013-03-20 15:27:03', 349534908) [1m[36m (28.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:03 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$9iVcHvbldh/acWsAEREO3OjNqo.d723yzN/m3DGtUyQLSkV7ecBN6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:03 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 127ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (10.7ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:03 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$MjNhgGSEG.iAf3nKSmGLB.uf8yadLB2Lkeq3/2sJiTtWGADCbj3vC"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:03 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:33', '2013-03-20 15:27:33', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:33 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$/wWmgu1aFUxDww3oepC9v.qsdH0rxi1jtvnSizqEQWu/lq2MVGwXi"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 117ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (10.5ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:33 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$lumlkX16HzjNOKg9/LRo1e4qRzLcEM1rJjfuigdjvk5j3XPS323E6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:27:44', '2013-03-20 15:27:44', 349534908) [1m[36m (21.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-20 15:27:44 UTC", "updated_at"=>"2013-03-20 15:27:44 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 65ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 115ms (Views: 112.7ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'daRr4yLxtKK6osXu8Pky' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "daRr4yLxtKK6osXu8Pky"], ["reset_password_sent_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["updated_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (12.2ms) Date: Wed, 20 Mar 2013 11:27:44 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5149d5708e77f_69583fd7f986066c197ac@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 107ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.0ms) Completed 200 OK in 28ms (Views: 27.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$bd5xu4E69v3dp13eS81aJ.QLVGVDBVFa2rSU3pSOPSdNyGxLCrZT6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$EpnW8X0JM28AUd4xxiRyg.a1DE5.oW/2.TcLNv09q35KxojkvDKDu"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:27:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 25ms (Views: 24.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:27:44 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hFj6.uFajvF8gZP92d3P3Ooyqsjl3zUisI1FDEqI7abnAZ1ncBxvW"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$UJ3wnoprCYUuS6F7cYQxMOHLlVU4xSEvrcvDmA5gX95TGy9TIap9C"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:27:45 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", Wed, 20 Mar 2013 15:27:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$xyyUdUSNWjMP9vFhAF.33uWRPYiPV8AbFdDfIl8LPsKekBV0/gW1e"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:27:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:27:45 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:29:39', '2013-03-20 15:29:39', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-20 15:29:39 UTC", "updated_at"=>"2013-03-20 15:29:39 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 20 Mar 2013 15:29:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 20 Mar 2013 15:29:39 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 16ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (52.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 152ms (Views: 149.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'CMURkJ2wrXPSEStxjFvV' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "CMURkJ2wrXPSEStxjFvV"], ["reset_password_sent_at", Wed, 20 Mar 2013 15:29:39 UTC +00:00], ["updated_at", Wed, 20 Mar 2013 15:29:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14.3ms) Date: Wed, 20 Mar 2013 11:29:40 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5149d5e4373c_69963fd6d2060674638d1@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 63ms (ActiveRecord: 0.0ms) [1m[36m (37.2ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.2ms) Completed 200 OK in 26ms (Views: 25.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$n1C6GCvqM5uR0MI9pTIJROb54X0YQBzEp5l7X3XjvPl2fa7Kylp3S"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 54ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$KtJSRUBZqZie2FgBKVHN1e2a3dO5EgxGa3uFHnSFmm7S8YTsme1aq"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$V3A8cnATeE9oUlgLhkGBwuMQsF.Pyl8TmCgbB.I/nVfGQmcKJcZkq"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$1LyZ3gkai92MQmm18XfNhu.qrjCtcSQbvZS4DmTDtOXLL9QC5gnAy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:29:40 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", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$NUPGxDGD9vEGRObw.TybVe2okJEzvqJv1bkV8oemOgvQTx9SsQoKG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:29:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:29:40 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-03-20 15:36:42', '2013-03-20 15:36:42', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-03-20 15:36:42 UTC", "updated_at"=>"2013-03-20 15:36:42 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 20 Mar 2013 15:36:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 20 Mar 2013 15:36:42 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 104ms (Views: 102.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1cEsYy35xurwCaiHDHyy' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "1cEsYy35xurwCaiHDHyy"], ["reset_password_sent_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.2ms) Date: Wed, 20 Mar 2013 11:36:43 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5149d78b22fb3_6cd73fc938c60674216a4@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 93ms (ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.6ms) Completed 200 OK in 26ms (Views: 25.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$cBtJDfmYQNCp7Og.ozYRYujnlp3xGc9WpmO281yfzjyRBuwQLjzNq"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$mDmzVDp/0dP/NLfrF6tHZeg7HQVURhhF9o5YTOzJJBYZBffy6Qz4G"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- [1m[35m (0.0ms)[0m begin transaction Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m ----------------------- ContourTest: test_truth ----------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$BFRLU4q2ZSE0037dPrCOZOsheY0dYmY27XxkwtwQ.t9sMNCItJvWW"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$wFwxzDME6TzfUlB41Gi6k.i8mpWg1hh3rVT.az6PHiNiwwUOeogsi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:36:43 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", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$S.tDnhSHTXuSv/81/lGCRujWmoEaAH9Lzoz.4A.6hLcGEcnYbxl22"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["current_sign_in_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 20 Mar 2013 15:36:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-03-20 11:36:43 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 74ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[35m (0.1ms)[0m begin transaction [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (12.9ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:15:47', '2013-05-06 11:15:47', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:15:47 UTC", "updated_at"=>"2013-05-06 11:15:47 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:15:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:15:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 18ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (19.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 1118ms (Views: 1115.4ms | ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'bcXxrKTAspTdHnnB7Y4k' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.1ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "bcXxrKTAspTdHnnB7Y4k"], ["reset_password_sent_at", Mon, 06 May 2013 11:15:48 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:15:48 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (31.4ms) Date: Mon, 06 May 2013 07:15:48 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518790e47bb96_deb23ff42c46066c28682@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 180ms (ActiveRecord: 2.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (13.3ms) Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 6ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: status Completed 500 Internal Server Error in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:15:48 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:15:48 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:15:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 1.1ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:15:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 20ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$tj.H8tGHvkjp8LkQIgQjwO1jmInPTIhWk08Uj/iLBMiP/NT9SV0Li"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:15:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$CSrblV/i2NLzD/AFAtcZfOs..9xf/kWRTsjwUchOHyOshLiEthLmq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:15:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:15:49 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", Mon, 06 May 2013 11:15:49 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ee7erSbbyS9ngnMyTGPk/Ok4DlI2UvV2VJETPP3nK/AZn86fhGRXm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:15:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:15:49 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:15:49 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:15:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 75ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:17:20', '2013-05-06 11:17:20', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:17:20 UTC", "updated_at"=>"2013-05-06 11:17:20 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:17:20 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:17:20 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 27ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (14.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 173ms (Views: 169.6ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jPNgzcrfdGZNp5TnJYeC' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "jPNgzcrfdGZNp5TnJYeC"], ["reset_password_sent_at", Mon, 06 May 2013 11:17:20 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:17:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.0ms) Date: Mon, 06 May 2013 07:17:20 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518791409e7c4_df4f3fdcfd46066c702f8@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 64ms (ActiveRecord: 0.9ms) [1m[36m (18.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (11.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (15.5ms) Completed 200 OK in 29ms (Views: 28.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: status Completed 500 Internal Server Error in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:17:20 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:17:20 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:17:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 20ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$T4srvrroAvgz5QLVhxHHxuI4VaxlK9ShR6Si8J1EwzG/mqgs6xY8."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:17:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms) [1m[36m (10.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$uipKaeahWCZPByQm7qP5m.1t1FYjpRNgNnvnNatBO8d23WAdTUp/."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:17:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:17:21 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", Mon, 06 May 2013 11:17:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$9B/opFOZ88.sXrsJTcpp9uM2a5J6oP3QmmhZtzpPhBWywK6ge2TXO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:17:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:17:21 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:17:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:17:21 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:20:12', '2013-05-06 11:20:12', 349534908) [1m[36m (30.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:20:12 UTC", "updated_at"=>"2013-05-06 11:20:12 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (13.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 107ms (Views: 104.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'tmGuQHMKPsZuhorBRBF8' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "tmGuQHMKPsZuhorBRBF8"], ["reset_password_sent_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:20:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (13.4ms) Date: Mon, 06 May 2013 07:20:12 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518791ec77783_dff13fd83186067094271@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 62ms (ActiveRecord: 0.9ms) [1m[36m (33.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (14.4ms) Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 7ms [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: status Completed 500 Internal Server Error in 4ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:20:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (16.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:20:12 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:20:12 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$L6za5ZfZRo9JvmbD0IZ7G.UKrc2tteNF5RjYumHXiLAPMtqtfresu"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:20:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:20:12 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:20:12 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:20:12 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:20:13 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$AkLOllnRiK.ohcKBjFpK5O9yAo9AipnlNmOoIVrLnqNFhg9J7Nr7e"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:20:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:20:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:20:13 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", Mon, 06 May 2013 11:20:13 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:20:13 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$TAJrJBh.8EXHEnfjvBAlpOw4YDH9YutcEguPG3CvAvj1wByiN3/J2"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:20:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:20:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:20:13 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:20:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:20:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.7ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:22:33', '2013-05-06 11:22:33', 349534908) [1m[36m (286.4ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:22:33 UTC", "updated_at"=>"2013-05-06 11:22:33 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (10.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:22:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:22:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 34ms (ActiveRecord: 11.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (206.4ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (59.0ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 66ms (ActiveRecord: 59.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (60.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (46.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 238ms (Views: 235.5ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xAPDXqyNpgus5pvx1Lut' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (50.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "xAPDXqyNpgus5pvx1Lut"], ["reset_password_sent_at", Mon, 06 May 2013 11:22:34 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:22:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (52.7ms) Date: Mon, 06 May 2013 07:22:34 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187927aaab33_e0b23fd59cc6066848442@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 369ms (ActiveRecord: 51.4ms) [1m[36m (69.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.7ms) Completed 200 OK in 87ms (Views: 86.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (55.9ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 5ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: status Completed 500 Internal Server Error in 5ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (9.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:22:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 96ms (Views: 0.3ms | ActiveRecord: 10.3ms) [1m[35m (132.2ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (55.9ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 61ms (ActiveRecord: 56.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 4ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 21ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$WLiFOUqoi1F2S75b0K7ocujKM2wAaW0FnmKqpI2q/8c1iKjNN/59C"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:22:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (29.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7zFNGv53u79o2Na0zZZBRuCPiHpeHkqeIMdmXU94uvmu8hf0a/fVC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:22:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:22: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", Mon, 06 May 2013 11:22:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 12ms (ActiveRecord: 0.8ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (190.0ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:22:36 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$dq5gpIyizLqmRy/7WNpEX.JpOM35U.iEfBu3c8.WpvZQzvY1CYSgW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:22:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:22:36 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 61ms (Views: 59.1ms | ActiveRecord: 0.0ms) [1m[36m (193.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (65.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:22:37 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:22:37 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (28.8ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:22:37 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:22:37 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:22:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 111ms (Views: 0.3ms | ActiveRecord: 29.3ms) [1m[36m (58.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:22:37 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:30:26', '2013-05-06 11:30:26', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:30:26 UTC", "updated_at"=>"2013-05-06 11:30:26 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 18ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (9.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 150ms (Views: 147.9ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'bdD2fmLexwBpyw4ax5Z6' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "bdD2fmLexwBpyw4ax5Z6"], ["reset_password_sent_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.2ms) Date: Mon, 06 May 2013 07:30:27 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187945344961_e2363fc689060678169a8@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 65ms (ActiveRecord: 0.9ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (47.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (50.1ms) Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 3ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (8.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 28ms (Views: 27.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$emDVXXgQBwRciyZqCbDp4.bT//euULuYG7zPd2atfszck3mUpoxEC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iCH.zwIkkJB.2QP8JP2NX.Sx13aHM7XKJYqgBBfKGgTKtEA4VS0NC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30: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", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$V1KBo1SbPVRavM5rCQzs4uYkKscsG6bBgN0YNHBR6QiCEfO48LxuW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:30:27 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30:27 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:30:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (9.8ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:30:28 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:30:47', '2013-05-06 11:30:47', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:30:47 UTC", "updated_at"=>"2013-05-06 11:30:47 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:30:47 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:30:47 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (57.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 149ms (Views: 147.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'd7NUL8xkMHVFLxpBeFWs' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "d7NUL8xkMHVFLxpBeFWs"], ["reset_password_sent_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.4ms) Date: Mon, 06 May 2013 07:30:48 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51879468df04_e2573fc1aa0606703416@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 59ms (ActiveRecord: 0.9ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.1ms) Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$./oOGizKxsm7uin.J8h.NOtGObyJkPxxMN5i7haVAlHzJoB1Bfg4K"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ereI1qfXHQcQE2oUfmm8uOvUVPbX59ZxVQ0nX5kLqOG6qZoosIFle"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30:48 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", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$McM09gOOaWqOWOByxK4ylumwrhX6IShz/MzMrmx09OqzeqJ//8ylC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:30:48 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:30:48 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (27.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:30:48 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:32:42', '2013-05-06 11:32:42', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:32:42 UTC", "updated_at"=>"2013-05-06 11:32:42 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:32:42 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:32:42 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (28.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 143ms (Views: 140.9ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4idVdAzJXxZoQDDfPYBf' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "4idVdAzJXxZoQDDfPYBf"], ["reset_password_sent_at", Mon, 06 May 2013 11:32:42 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:32:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.0ms) Date: Mon, 06 May 2013 07:32:42 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518794da8adc9_e2fa3ff00e0606744109a@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 60ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (11.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.8ms) Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:32:42 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:32:42 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:32:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:32:42 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/qRLQJRrk4EnVdHQ9dI/DOtwW64vMiTwCqFn.rkXAeQnAx4ErFjAm"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:32:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (9.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$X6C65IKTyOfS5/hnOoy0veakXKKKSdQJgm0Jq.Wh4.2MoGcw/raMW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:32:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:32:43 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", Mon, 06 May 2013 11:32:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$igvxunc6X2j2poNpP.8my.B3Ca962rSEJBs9TyNhnv3Quvyso9wlG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:32:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms) Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:32:43 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:32:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:32:43 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:33:48', '2013-05-06 11:33:48', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:33:48 UTC", "updated_at"=>"2013-05-06 11:33:48 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 18ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (8.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.4ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (11.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 147ms (Views: 142.9ms | ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'p4qxnaZZgB6TPqCLggfo' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "p4qxnaZZgB6TPqCLggfo"], ["reset_password_sent_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.6ms) Date: Mon, 06 May 2013 07:33:49 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187951d4213e_e3323fd9ec46066c93219@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 63ms (ActiveRecord: 0.9ms) [1m[36m (3.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.7ms) Completed 200 OK in 23ms (Views: 22.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$TFQpwQVuJlvbVu/RPnRxhOOwkraT8q577X9597cVeKtRRNavYQMru"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$2UCUz/dgyAlPWybrMKg8FOKrZMK8VJaQSpMgz96ZPG1VUbT6IOhHG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:33:49 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", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$mUnt5ZuOpn2MvyWpxNxreeVHykzrOHxLT4t1yAbn.a.05ExaL9GkW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:33:49 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:33:49 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:33:49 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:37:00', '2013-05-06 11:37:00', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:37:00 UTC", "updated_at"=>"2013-05-06 11:37:00 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:37:00 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:37:00 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (10.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (54.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 151ms (Views: 148.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'urs9xUYuMpTMHHDrry3b' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "urs9xUYuMpTMHHDrry3b"], ["reset_password_sent_at", Mon, 06 May 2013 11:37:00 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:37:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.2ms) Date: Mon, 06 May 2013 07:37:00 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518795dccbe09_e3cb3ffdc58606705178f@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 62ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$uQA1EAWzhYJCJcH8.mXtT.HIKWwFbNNZbIeKbwcd5Sa30dlX1uMOG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) [1m[36m (43.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$DyPXMfVROXw9pEFoD7r.F.xADzIPBNYbI4BP0byeLj6ou02EvMBmC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37:01 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", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$jI3W3oPjI2rLb5.yql8MF.RI9u7cGyVvK1jvs4tFPvWdyWPSPLxk6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37:01 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:37:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:37:01 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:37:24', '2013-05-06 11:37:24', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:37:24 UTC", "updated_at"=>"2013-05-06 11:37:24 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 6ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 106ms (Views: 103.5ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'NXDkyutWDaZjoKsUus2e' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "NXDkyutWDaZjoKsUus2e"], ["reset_password_sent_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:37:24 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.8ms) Date: Mon, 06 May 2013 07:37:24 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518795f478806_e4273fdfe9460678669eb@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 99ms (ActiveRecord: 1.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.0ms) Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:37:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.4ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$bIhM1fdlbJm783kxuM52a.LDgXrLkdQftXDwWxH0EqMKI3ff11E.m"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:37:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (45.7ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$jaXlojycOOQCN4HGNiLUxedJAN4mUl1kKdGiG2qNJa.vmvW1u2g.K"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:37:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:37:24 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37: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", Mon, 06 May 2013 11:37:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:37:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:37:25 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$oQ0i8h4WsocMGXMR5S9FfO5Y/D4GcnNIB88LRqXGVCaQIxCvtJ65a"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:37:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:37:25 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:37:25 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:37:25 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:37:25 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:37:25 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:37:25 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:37:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:37:25 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:38:28', '2013-05-06 11:38:28', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:38:28 UTC", "updated_at"=>"2013-05-06 11:38:28 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:38:28 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:38:28 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (16.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 143ms (Views: 141.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pn2D1nTuDuqusytzc7yU' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "pn2D1nTuDuqusytzc7yU"], ["reset_password_sent_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.9ms) Date: Mon, 06 May 2013 07:38:29 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187963512ea3_e4643fe62986067481578@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 69ms (ActiveRecord: 0.9ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (24.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (27.0ms) Completed 200 OK in 41ms (Views: 39.9ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 5ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Completed 500 Internal Server Error in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$OU7hXkQlOxL6ENZ5fQvDl.mC5zG5NoHDeXwytHAfkjPhPqR8BhwH6"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$0zIWa3sunUNZvzIwrkeWS.JO0xedbdVGzdjlBcOun9/Kiwo4UEAuG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38: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", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GexWJUwKOzdpR3xwBi7EbO/jRskJ7zGMgddJTL6OUHets4bCf.1.G"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38:29 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:38:29 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (8.4ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:38:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.7ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:38:50', '2013-05-06 11:38:50', 349534908) [1m[36m (2.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:38:50 UTC", "updated_at"=>"2013-05-06 11:38:50 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (51.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 147ms (Views: 145.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9HxwUabk6ZUzKgDLKYiY' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "9HxwUabk6ZUzKgDLKYiY"], ["reset_password_sent_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.4ms) Date: Mon, 06 May 2013 07:38:50 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187964a6bd5b_e4833fc5284606685725@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 68ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.3ms) Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Completed 500 Internal Server Error in 3ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qg8qCOkKN3xtqqHC3DHqTeuaYJiSfY7.OJukCWivXNFm5YIda6uzG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$G.adD1rrfAeBh./7g8Mr.uX4c2OtXhl3/mVRQ06hvxFBcLrvkd7NS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38:50 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", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:38:50 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$9AIEaeigzWySBp5cnhGUruqSyLhc8w/XVCnsKy3dhSS3Ngxkibray"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:38:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:38:50 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:38:51 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:38:51 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:38:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (5.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:38:51 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:39:14', '2013-05-06 11:39:14', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:39:14 UTC", "updated_at"=>"2013-05-06 11:39:14 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:39:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:39:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 18ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (9.7ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (12.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 110ms (Views: 108.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Mys8GRcpsWmPNLP3LF62' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Mys8GRcpsWmPNLP3LF62"], ["reset_password_sent_at", Mon, 06 May 2013 11:39:14 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:39:14 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.2ms) Date: Mon, 06 May 2013 07:39:14 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51879662b0a33_e49b3fd0ec86066c82693@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.9ms) [1m[36m (15.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.8ms) Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 3ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (25.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xM5dVWQ1nFwFMGomOf3fye6f4IswQyaWfoKyjg7MM1nXtpU0TAvfG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (43.9ms) Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.0ms) [1m[36m (13.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$TkOHIYgmHQ00uGrs0QGOQ.WnLO5uRFqpsn/8wcZHzcbmn2URgzH8W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:39:15 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", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$JsKtc5i0GqyAb6Ynpb5PCeOw5TwI8caZdNBvW1QoR/MDvtd8Y.xl2"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:39:15 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:39:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:39:15 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.8ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:41:54', '2013-05-06 11:41:54', 349534908) [1m[36m (8.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:41:54 UTC", "updated_at"=>"2013-05-06 11:41:54 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:41:54 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:41:54 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (10.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 144ms (Views: 141.6ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JkpRpLqb3rrx6Brc5bPn' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "JkpRpLqb3rrx6Brc5bPn"], ["reset_password_sent_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.9ms) Date: Mon, 06 May 2013 07:41:55 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518797031b2ac_e4fe3fd81c4606702997f@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 68ms (ActiveRecord: 0.9ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.6ms) Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$A7pvSfThXaeAWTTEQ7w4WOkmHDVjwB3UNOPYjx3Y3UzgIUYvq2Itu"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$fzjfxn6PE9R.4xXIbOpbn.3TtBx0TgUeqqLXlirByLn0oEOR86TSe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:41:55 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", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 13ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$G5nq2hiDpNWiYNnCDvPpP.7zpPUWsWx5RJ4RBs29zK4wXb0gEnJL."], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:41:55 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:41:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (2.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:41:55 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:42:09', '2013-05-06 11:42:09', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:42:09 UTC", "updated_at"=>"2013-05-06 11:42:09 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 19ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (9.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 151ms (Views: 148.5ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2q5PfEszSbyxkqGyuCkk' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "2q5PfEszSbyxkqGyuCkk"], ["reset_password_sent_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.2ms) Date: Mon, 06 May 2013 07:42:09 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518797116b41e_e5513fce3d86067834350@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 63ms (ActiveRecord: 0.9ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (47.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (49.9ms) Completed 200 OK in 63ms (Views: 62.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 61ms (Views: 59.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$sN2Y1.V5.mzKwDq5rqEEwOIX5vboeecwPdWRTqgz9dZu2S1w2Zea6"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$PNxSo3vshX0br6ULsXNzjucn9oQ7bJl1X0t5MjjubzzcLF5uft2Ju"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:42:09 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", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:42:09 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$940Jeb4FFm.h0TVGu9.2guaec3.QuMAhZNNpSr9cVe1yKcpvfdjMG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:42:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:42:09 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:42:10 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:42:10 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:42:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 97ms (Views: 0.2ms | ActiveRecord: 1.0ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:42:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:47:47', '2013-05-06 11:47:47', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:47:47', '2013-05-06 11:47:47', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:47:47', '2013-05-06 11:47:47', 864673665, 201799169)[0m [1m[35mFixture Delete (0.8ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:47:48', '2013-05-06 11:47:48', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:47:48', '2013-05-06 11:47:48', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:47:48', '2013-05-06 11:47:48', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:47:48', '2013-05-06 11:47:48', 349534908) [1m[36m (1.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:47:47 UTC", "updated_at"=>"2013-05-06 11:47:47 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:47:48 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:47:48 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 85ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (12.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (8.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (108.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 1628ms (Views: 1625.1ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'NEnX182tVCzKRigB59Wj' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "NEnX182tVCzKRigB59Wj"], ["reset_password_sent_at", Mon, 06 May 2013 11:47:50 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:47:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (47.5ms) Date: Mon, 06 May 2013 07:47:50 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518798666c5c9_e6653fe8d486066c689fb@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 398ms (ActiveRecord: 1.2ms) [1m[36m (30.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (155.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (190.9ms) Completed 200 OK in 759ms (Views: 758.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 27ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:47:51 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:47:51 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:47:51 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 80ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 111ms (Views: 109.9ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 50ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$3sMsqW3aNRu0pe9.Yp7MbuWHbuujQQB/Oln1MCVf.FqjwOlHk4kF2"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:47:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 34ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (44.7ms) Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$GAaRVTKHFrUXztWXzp5hguuOWdfTBeySmIJJbdohPC4x6fELTLOOy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:47:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:47:52 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", Mon, 06 May 2013 11:47:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (10.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$KQYkzVztm70s3jngbP7Ao.3NlE5dLOqYQkkcFbB9dDmaaUMhjqyy6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:47:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:47:52 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:47:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:47:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 11:49:58', '2013-05-06 11:49:58', 349534908) [1m[36m (1.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 11:49:58 UTC", "updated_at"=>"2013-05-06 11:49:58 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 11:49:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 11:49:58 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 54ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (56.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 431ms (Views: 428.6ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4nRz9xszgKsqNTwJV58t' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "4nRz9xszgKsqNTwJV58t"], ["reset_password_sent_at", Mon, 06 May 2013 11:49:58 UTC +00:00], ["updated_at", Mon, 06 May 2013 11:49:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (23.1ms) Date: Mon, 06 May 2013 07:49:58 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <518798e6f0f4a_e7003feabe06067436387@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 198ms (ActiveRecord: 1.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (27.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.1ms) Completed 200 OK in 89ms (Views: 88.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 3ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 11:49:59 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:49:59 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:49:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 94ms (Views: 0.4ms | ActiveRecord: 1.3ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 5ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms) Completed 200 OK in 118ms (Views: 115.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:49:59 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 50ms [1m[35m (0.3ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:49:59 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$hXe5DIDDM4cOzt7BwcHgs.kMwG3X7/ejw0W4XTI5aI9BMmj9oNJ/m"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 11:49:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 18ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms) Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:50:00 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$iofqbdYolnKNTb2i7oHbLu40iCuA3.ttiHERJX/lykobNKDazTIqS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 11:50:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 11:50:00 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:50:00 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", Mon, 06 May 2013 11:50:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 11:50:00 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$nYB0KeR4jV7Z8irWtMKcl.n48dXCOOB7WDx5GUCjcchEU/4QOR3Li"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 11:50:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms) Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 11:50:00 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 11:50:00 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 11:50:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 07:50:00 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (1.8ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (30.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 864673665, 201799169)[0m [1m[35mFixture Delete (2.4ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:21:19', '2013-05-06 12:21:19', 349534908) [1m[36m (13.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 12:21:19 UTC", "updated_at"=>"2013-05-06 12:21:19 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 12:21:20 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 12:21:20 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 100ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (101.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 728ms (Views: 725.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '7VqqR8o5yjyegeypofKU' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "7VqqR8o5yjyegeypofKU"], ["reset_password_sent_at", Mon, 06 May 2013 12:21:21 UTC +00:00], ["updated_at", Mon, 06 May 2013 12:21:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (21.6ms) Date: Mon, 06 May 2013 08:21:21 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187a0415839f_ece33ff8e8c6066c43682@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 235ms (ActiveRecord: 1.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (17.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (20.8ms) Completed 200 OK in 79ms (Views: 78.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 12:21:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:21:21 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:21:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 79ms (Views: 77.4ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 38ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$V6sGMj0xeOtcWsjKELWZRuG.ngo2lkSKpJgW8BY8SEa5vO2Mj9H0i"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 12:21:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 23ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7bvBfHN5mE2New.eaqsnieFbhjYDbdP7pBtgwemxhFs6jkUL0seSG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 12:21:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:21: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", Mon, 06 May 2013 12:21:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$SPVOzB5ihb02ke2uYoAWVO/CK.m2oBmHi2wvtUUUNIs/UdVrx8R7y"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 12:21:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:21:22 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:21:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:21:22 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:26:22', '2013-05-06 12:26:22', 349534908) [1m[36m (2.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 12:26:22 UTC", "updated_at"=>"2013-05-06 12:26:22 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 12:26:22 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 12:26:22 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (4.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (14.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 111ms (Views: 109.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WmzVSkG6eb6wTupsDsN7' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "WmzVSkG6eb6wTupsDsN7"], ["reset_password_sent_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.2ms) Date: Mon, 06 May 2013 08:26:23 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187a16f374d3_ee073fe324860668328c1@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 62ms (ActiveRecord: 0.9ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.6ms) Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: email, password, password_confirmation Completed 500 Internal Server Error in 4ms [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status, email, password, password_confirmation Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 20ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$E11Qi8zpZ7SCyCTczRamtOtbW2YIj9CTc6LvRXLXAN6lo.gAzNK/K"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (3.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$da0Q5WqLh.lCogiBeLTTCufzB0Kc4HtpBeGSji4lAetkW1fPOZisS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:26: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", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (27.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$.KWWdzl/f7g0QocA4pcEU.MZoXxBKcUqkjvvxnn3b5GcS821gftNC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:26:23 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:26:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (3.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:26:23 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:27:12', '2013-05-06 12:27:12', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 12:27:12 UTC", "updated_at"=>"2013-05-06 12:27:12 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (4.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (14.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 106ms (Views: 104.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'X97ziSdrzxwbugup3fs4' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "X97ziSdrzxwbugup3fs4"], ["reset_password_sent_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (9.8ms) Date: Mon, 06 May 2013 08:27:12 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187a1a063023_ee6a3fc67106066881527@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.8ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: email, password, password_confirmation Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status, email, password, password_confirmation Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 4ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 31ms (Views: 30.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ixsidGeZJaCdaHQanYN.Yu0J.rkdFbGG2vq7NqLEvi42hETRWpk4."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FeZ0jVx3TN0.f.jgvCW/eOtlQQWvrAlVuX6.zgjph8WkrvySvlpVC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27:12 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", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (25.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:12 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CCmXceD4IV01kl0Nc2UDn.MQLhl0wn3RFBhIXhIHSA94EeYNZeY02"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 12:27:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.1ms) Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:27:12 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 12:27:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27:13 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:27:13 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (13.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:27:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 12:27:32', '2013-05-06 12:27:32', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 12:27:32 UTC", "updated_at"=>"2013-05-06 12:27:32 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 12:27:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 12:27:32 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (8.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (51.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 143ms (Views: 140.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Rrs9EdurWiS1vmhisgvx' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Rrs9EdurWiS1vmhisgvx"], ["reset_password_sent_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15.9ms) Date: Mon, 06 May 2013 08:27:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187a1b537a07_ee803ffbfd86066c593d7@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 86ms (ActiveRecord: 1.4ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.5ms) Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$H9EKYnMPyxb7GtDzdg2..uTecUKDZCYRW69liLjwcA3n.l2PMONom"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$z5smGi2f06cZVz5Gq1pqBepyzwyAN1J6rTKRJpRUXLMu7.JVpDfxi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27: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", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$uATsKnLqIz5jyDGPVY1XduvWFdVuSTqcfqEz65116AtDxKVDAzZbW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 12:27:33 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 12:27:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (1.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 08:27:33 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (5.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.9ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 864673665, 201799169)[0m [1m[35mFixture Delete (1.3ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:09:50', '2013-05-06 13:09:50', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:09:50 UTC", "updated_at"=>"2013-05-06 13:09:50 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:09:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:09:50 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 78ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (26.6ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 32ms (ActiveRecord: 27.1ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (53.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 478ms (Views: 475.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1XDe4xs8EfKWjzCh3cAF' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "1XDe4xs8EfKWjzCh3cAF"], ["reset_password_sent_at", Mon, 06 May 2013 13:09:51 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:09:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (23.4ms) Date: Mon, 06 May 2013 09:09:51 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187ab9f6ee3e_122c73fc1de06067836560@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 240ms (ActiveRecord: 1.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.8ms) Completed 200 OK in 114ms (Views: 113.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 3ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 93ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 79ms (Views: 77.8ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 38ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$HTLJ8NmEBTTpvBTpgkbTw.USUe9ixrx3bOHZX8iYJnalWaqrvQ0Ke"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 19ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$B7nwZER/PsU2z01Di6KgSeLzzOK91PZqh5h9WxzDtW5mBCvuKb51y"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:09:52 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", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$BRlZpWwbSFThtwWX/9BhE.Vjd5OCAHdoRMjN0Ktt7KZdEUjM/2v5e"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:09:52 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:09:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:09:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.6ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:41:49', '2013-05-06 13:41:49', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:41:49 UTC", "updated_at"=>"2013-05-06 13:41:49 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (3.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (47.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 155ms (Views: 153.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rZ1JK6jSgyjqty3qMivp' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "rZ1JK6jSgyjqty3qMivp"], ["reset_password_sent_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:41:49 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (13.3ms) Date: Mon, 06 May 2013 09:41:49 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b31d65fc1_128ea3fea9cc6066c1196f@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 74ms (ActiveRecord: 1.0ms) [1m[36m (9.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms) Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:41:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (96.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:41:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$nbRCxcRfVa2quw/wXWad4OKjg81gy.BGt9dp1ab.Ihr.V6mIU6SY."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:41:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:41:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:41:49 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:41:49 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:41:49 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RtC/ng2OqvC1Lv2BCBuH4uXo17DP7rQB9s4BAKmrpvuPjvzhNfoNC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:41:49 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:41:49 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:41:50 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:41:50 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", Mon, 06 May 2013 13:41:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:41:50 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3oEeZGtEiELsX/zo/588y.eLe7wtfmAigCTf2tuX9AkCLT/mTAeKO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:41:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:41:50 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:41:50 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:41:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:41:50 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 74ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:42:51', '2013-05-06 13:42:51', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:42:51 UTC", "updated_at"=>"2013-05-06 13:42:51 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:42:51 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:42:51 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 56ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (13.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 120ms (Views: 117.2ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'CWSeY6oHraPpmfYxb8rK' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "CWSeY6oHraPpmfYxb8rK"], ["reset_password_sent_at", Mon, 06 May 2013 13:42:51 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:42:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.5ms) Date: Mon, 06 May 2013 09:42:52 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b35c4fb8_129563fd749c60678714f4@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 104ms (ActiveRecord: 0.9ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.5ms) Completed 200 OK in 26ms (Views: 24.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 57ms (Views: 56.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$EcEN5wmyxCWjESRxhL/hr.eF3nbcib4LWPClbNzu9U23Nh6jlT8JO"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms) [1m[36m (8.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$6un4YMYexmc/EMZkPpr37OaCwvyX8nBZKxeQOLthgvyWxXnzHpJqi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:42:52 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", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$3OxAUQzrVn9LJx4j8jx/4.iSTYODZ52hpeFQE6Oes2PETg/vZGBcG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:42:52 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:42:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:42:52 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 74ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:44:09', '2013-05-06 13:44:09', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:44:09 UTC", "updated_at"=>"2013-05-06 13:44:09 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:44:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:44:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 19ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (9.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 141ms (Views: 139.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'fZxxFDGCt6LKxpBh31C1' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "fZxxFDGCt6LKxpBh31C1"], ["reset_password_sent_at", Mon, 06 May 2013 13:44:09 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:44:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.3ms) Date: Mon, 06 May 2013 09:44:10 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b3a9f4100_1299b3fe91086066c897ca@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 59ms (ActiveRecord: 0.9ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (13.6ms) Completed 200 OK in 27ms (Views: 26.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (40.8ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$bYWhCv/arC.L8unKIKk4D.9XnwtP.p4Wt.JFuZwSF0ysGrN.0/tLe"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$qUrKqIzTUAN27k4jt/M99eagwnreclJkfCB4POgFCrMyJiUCaBubS"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:44:10 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", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$yC572T/F.ct4BT.VYNZTEOY9cBgoRMryjL7YuaAiiU.YcscO32tvm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms) [1m[36m (5.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:44:10 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:44:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:44:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:45:13', '2013-05-06 13:45:13', 349534908) [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:45:13 UTC", "updated_at"=>"2013-05-06 13:45:13 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 20ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (6.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (49.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 143ms (Views: 140.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'q8ExibVLaLXng5upqxG9' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "q8ExibVLaLXng5upqxG9"], ["reset_password_sent_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.5ms) Date: Mon, 06 May 2013 09:45:14 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b3ea42c3a_129cf3fef30c606743743@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 60ms (ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 21ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/qbP0Cf2.8skxiq3HxElNe141uZ9YQjdBZ8sRnDewtGrSHYGQrdqK"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$teDI2ss0B9NB2R.6AQ/zDO33qOqqwjoht.ECPe.McnK2WPTKQuNBq"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45:14 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", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$du3BEtHWklklF31aWMpo3erAw4JVP4uNM/rVwKXa8E2j/mjDhbYm2"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45:14 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:45:14 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (11.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:45:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 80ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:45:29', '2013-05-06 13:45:29', 349534908) [1m[36m (56.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:45:29 UTC", "updated_at"=>"2013-05-06 13:45:29 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:45:29 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:45:29 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (50.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 140ms (Views: 138.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '26UULx71sdb8sVEstcpN' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "26UULx71sdb8sVEstcpN"], ["reset_password_sent_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15.8ms) Date: Mon, 06 May 2013 09:45:30 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b3fa2b8c9_129e33ff35dc606708555c@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 74ms (ActiveRecord: 1.0ms) [1m[36m (31.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.5ms) Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (30.2ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$elhWMx.23pUYb3VLRQJj6.dJQdv1TlIs/6vNlMxkANy6YwtfSeORu"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (5.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$K1eS1EOCncmiLqDC21FRxOjZiW8qhkhPYhRyJsQHRFKAn94IVQEr."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45: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", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$hL/8dHrRORZ99go7seNFjeJB2FuVL3lDsBQHbXKsgLQpQrXvvr5WK"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:45:30 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:45:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:45:30 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 75ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:46:10', '2013-05-06 13:46:10', 349534908) [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:46:10 UTC", "updated_at"=>"2013-05-06 13:46:10 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:46:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:46:10 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 19ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (4.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (53.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 157ms (Views: 154.1ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'QywFzRxHsMstiE8s7xTU' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "QywFzRxHsMstiE8s7xTU"], ["reset_password_sent_at", Mon, 06 May 2013 13:46:10 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:46:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.1ms) Date: Mon, 06 May 2013 09:46:10 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b422a7c67_12a093fdd48c60678734b0@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 59ms (ActiveRecord: 0.9ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.7ms) Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:46:10 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46:10 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:46:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms) Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$NrrGTI3vl8iD1hmwtc.Z6.apupH3lAcz451KEJ6hhbuCqskkIuoWK"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:46:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$6fS/uU.lndPK9ojMtOOk0eF9wZGMzM878PZVvaNI8P0MCAZWnkXpi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:46:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46:11 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", Mon, 06 May 2013 13:46:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$F2s1oUklUjhvvEsMqWRCg.1z362wFS0/l7lUX6o17P5uEXGjvXHZu"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:46:11 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46:11 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:46:11 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[36m (12.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:46:11 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:46:27', '2013-05-06 13:46:27', 349534908) [1m[36m (3.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:46:27 UTC", "updated_at"=>"2013-05-06 13:46:27 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:46:27 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:46:27 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (13.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 105ms (Views: 102.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4V4pxMitmr2Zud9B66RG' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "4V4pxMitmr2Zud9B66RG"], ["reset_password_sent_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (9.9ms) Date: Mon, 06 May 2013 09:46:28 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b4349936_12a213fc77206067031864@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 57ms (ActiveRecord: 1.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.8ms) Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 21ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$SrQqVQYIllPRsD.7RAO.1Oi2Khq7KemgB1Ukv1MM.Ro6IjU0skfsa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (44.9ms) Completed 200 OK in 56ms (Views: 54.5ms | ActiveRecord: 0.0ms) [1m[36m (20.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BLkxIDZlq7B0TB2p8zduFO4l064QD0X3h1RH4WhtHe6BfF6Fuwm62"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46: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", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$YRfV3m3jBVNyXhMqSUQku.1K6VPXVNBVOJ87gaJ0ul9VkE2Fm8m7u"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.1ms) Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:46:28 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:46:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:46:28 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:47:19', '2013-05-06 13:47:19', 349534908) [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:47:19 UTC", "updated_at"=>"2013-05-06 13:47:19 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:47:19 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:47:19 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (48.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 139ms (Views: 136.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qGkCBTNjSQYZaUqxYxA9' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "qGkCBTNjSQYZaUqxYxA9"], ["reset_password_sent_at", Mon, 06 May 2013 13:47:19 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:47:19 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (9.8ms) Date: Mon, 06 May 2013 09:47:19 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b467a816c_12a883fd40d86067018626@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.0ms) Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} #Hello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 59ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 24ms (Views: 22.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:47:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 25ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$SPlwqGYQw759XoJMGaZ5IOuWmJJ8ILVAnyulmcPWXZxaCPtsWthHC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:47:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (21.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$V2NcAlbnoKTFCRA.Zyxns.DDDNCv4/7KQH5IBP0YKZyQZ31TbNw76"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:47:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:47:55 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", Mon, 06 May 2013 13:47:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:47:55 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ko6ulFvcvMVb7UJsR.gp8eo3rB6zYTKBP2aDvlBpbWjXjXSJwdWWO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:47:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:47:55 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:47:56 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:47:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:47:56 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:47:56 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:47:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:47:56 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:51:06', '2013-05-06 13:51:06', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:51:06 UTC", "updated_at"=>"2013-05-06 13:51:06 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (48.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 139ms (Views: 137.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'qUsRdzS4kXsu3ni4fuL5' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "qUsRdzS4kXsu3ni4fuL5"], ["reset_password_sent_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.7ms) Date: Mon, 06 May 2013 09:51:06 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b54a6ddb0_12b643fc848460668768c3@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 63ms (ActiveRecord: 0.8ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: email, password, password_confirmation Unpermitted parameters: email, password, password_confirmation Completed 500 Internal Server Error in 5ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status, email, password, password_confirmation Unpermitted parameters: status, email, password, password_confirmation Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 80ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 23ms [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$U4x/Z0vzS2j2c9329PGyE.qKeSSNrRjIFkNWOWucOoEzAljXwQHHS"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$8okRi098SRyH4rGhTwgNGOkCItnCOR5gMol7CQMhFDeBpusDaZh9i"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:06 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", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:06 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ce.rdcB47sMgbVB8Fg/l7uM.DG8R2C1lrJ5QEekAGTEXPuoXZiiHC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:51:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:51:06 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:51:07 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:51:07 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:51:07 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:07 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:51:07 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:51:07 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 75ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:51:44', '2013-05-06 13:51:44', 349534908) [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:51:44 UTC", "updated_at"=>"2013-05-06 13:51:44 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:51:44 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:51:44 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (52.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.1ms) Completed 200 OK in 140ms (Views: 138.4ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sQF4fNzbTyq73BeDneVj' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "sQF4fNzbTyq73BeDneVj"], ["reset_password_sent_at", Mon, 06 May 2013 13:51:44 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:51:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.8ms) Date: Mon, 06 May 2013 09:51:44 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b570ec4f0_12bcd3fece9c60668235cb@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.0ms) Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: email, password, password_confirmation Completed 500 Internal Server Error in 3ms [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status, email, password, password_confirmation Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 20ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Is4yFkObwgapr9sQtGAJButd0r0dYzFMfRUvIJOsTWzn8BnQ0rOZ2"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) [1m[36m (25.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RGRe4GdNpsVhytFC2P6BFeN4JjdceW.KyIQNBsNxaI7UJexLS9vTe"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:45 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", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$bTyrZ60OV1ym20EXyt02Zu8QiKczvBLDG6t1QrO3BubytehQNhOQ6"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:51:45 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:51:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:51:45 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 75ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:52:21', '2013-05-06 13:52:21', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:52:21 UTC", "updated_at"=>"2013-05-06 13:52:21 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (52.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 145ms (Views: 142.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kyLME2JDToXTLU5Q95dD' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "kyLME2JDToXTLU5Q95dD"], ["reset_password_sent_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:52:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (12.8ms) Date: Mon, 06 May 2013 09:52:21 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b5957638c_12be83fdadc8606686748c@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 74ms (ActiveRecord: 1.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.0ms) Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: email, password, password_confirmation Unpermitted parameters: email, password, password_confirmation Completed 500 Internal Server Error in 3ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status, email, password, password_confirmation Unpermitted parameters: status, email, password, password_confirmation Completed 500 Internal Server Error in 2ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:52:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.4ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$0nifsHXyii1Zq.6NPJGELev2epoX2imq.umbjIHDIPoKq5BqNM6JO"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:52:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JgI5yq8gd6Vn0gBxZUxRHefDZctbuXanowaDhKQ.dICbJWnQAxHLC"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:52:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:52:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:21 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", Mon, 06 May 2013 13:52:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:21 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:22 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$16Q715XytFFeH4UvGjgnruTqBlawQbney820RfjJb4TthuZBcrC2i"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:52:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:22 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:52:22 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:52:22 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:52:22 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:52:22 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:22 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:52:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:52:22 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 80ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:52:38', '2013-05-06 13:52:38', 349534908) [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:52:38 UTC", "updated_at"=>"2013-05-06 13:52:38 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 22ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (48.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 137ms (Views: 135.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xFvdrBNP6Ns4yyC94Y7R' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "xFvdrBNP6Ns4yyC94Y7R"], ["reset_password_sent_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.0ms) Date: Mon, 06 May 2013 09:52:38 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b5a66df76_12bfc3ffe79860670797d0@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.8ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.1ms) Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name Unpermitted parameters: first_name, last_name Completed 500 Internal Server Error in 5ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: first_name, last_name, status Unpermitted parameters: first_name, last_name, status Completed 500 Internal Server Error in 4ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$x5NCxp9B/SFWYa.BAREUMONjEg/kWnP3pPJLPkE0kQOW41UXY2fq."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$QJ8oE3FUec0dz7oMWyaGJO7lx08LE2tL1hjBXA0rPHJf2aRArcIB6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:38 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", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:52:38 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ZNr6/1SrzTrV8WeELRyzR.jZK0AZNqjIrIuaoDfUti5RXS2HWhqxm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:52:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:52:38 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:52:39 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:52:39 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:52:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:52:39 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:52:39 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:52:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:52:39 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:53:12', '2013-05-06 13:53:12', 349534908) [1m[36m (2.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:53:12 UTC", "updated_at"=>"2013-05-06 13:53:12 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:53:12 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:53:12 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 140ms (Views: 138.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'hWz9QzjZzL4rLfwNoZuX' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "hWz9QzjZzL4rLfwNoZuX"], ["reset_password_sent_at", Mon, 06 May 2013 13:53:12 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:53:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.1ms) Date: Mon, 06 May 2013 09:53:12 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b5c8b1b07_12c1b3fc67a060678784f3@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 58ms (ActiveRecord: 0.8ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.1ms) Completed 200 OK in 23ms (Views: 22.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status Completed 500 Internal Server Error in 5ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$4pUJlGRXuJwS.0DbGI5Ub.VtBPpHud5H/qm/GPIav8MXB5tLZNWry"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms) [1m[36m (5.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$P3xjsQ5XaWdTLPZg0Tj9Du90L9iN21WxcuVCp7f6aFMZf1Vwzwsc6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:13 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", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$m5nbjKyNWU7B1OLBgODNSexHYkYkDlbQg11B1mCBYU6wL1izFROGq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:13 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:53:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[36m (5.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:53:13 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:53:40', '2013-05-06 13:53:40', 349534908) [1m[36m (3.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:53:40 UTC", "updated_at"=>"2013-05-06 13:53:40 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:53:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:53:40 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (8.6ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (50.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 140ms (Views: 138.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'r6zVL5ds1qxWn6sjVxbb' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "r6zVL5ds1qxWn6sjVxbb"], ["reset_password_sent_at", Mon, 06 May 2013 13:53:40 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:53:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.6ms) Date: Mon, 06 May 2013 09:53:40 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b5e4ece43_12c363fccd546066850260@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 61ms (ActiveRecord: 0.8ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (14.1ms) Completed 200 OK in 28ms (Views: 27.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 6ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status Completed 500 Internal Server Error in 5ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$bk74CrbwvEdNlBGgTa85t.fRfScrE/IMbMllX3CsJEEQ0T1YdLfVq"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$LaaM514olC8EY.uJbtdCwuffJL7UcCUsemgFX6.q8IxwmkroLRqoi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:41 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", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$enlTHZHF.ak6TVAMxSO0hOlWnqcqCbU/zDSzN2.im2/LLjsLhJ6iC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:53:41 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:53:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (2.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:53:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:59:13', '2013-05-06 13:59:13', 349534908) [1m[36m (28.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:59:13 UTC", "updated_at"=>"2013-05-06 13:59:13 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:59:13 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:59:13 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 61ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (12.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 113ms (Views: 110.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'cDdNozejkuXAZBzyGmpu' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "cDdNozejkuXAZBzyGmpu"], ["reset_password_sent_at", Mon, 06 May 2013 13:59:13 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:59:13 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (12.0ms) Date: Mon, 06 May 2013 09:59:13 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b731ad0ed_12d4a3fe1b4460674865dd@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 100ms (ActiveRecord: 0.9ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 6ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status Completed 500 Internal Server Error in 4ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 5ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 22ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$O.VfAx4rJDs338SY581aZe9TAWyX33eN9fnsBoTfydJTffc91VZZe"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (28.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$3/8XxdvoMo9scyqkGZkMxevyBPh1MJilsfSKkcedGwtgmZcuVDLi."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59:14 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", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$wq6Qk15zK2Se.yUnFTjwuOa8WJalThMlAXPJoIfYOmjdwv.wuDoEW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.9ms) Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59:14 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:59:14 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:59:14 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 13:59:34', '2013-05-06 13:59:34', 349534908) [1m[36m (7.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 13:59:34 UTC", "updated_at"=>"2013-05-06 13:59:34 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 65ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.3ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (19.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 128ms (Views: 124.4ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'KQSqenxnzS71E9pyeetS' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "KQSqenxnzS71E9pyeetS"], ["reset_password_sent_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.4ms) Date: Mon, 06 May 2013 09:59:35 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b74741126_12d663ff5ec8606748848b@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 98ms (ActiveRecord: 0.9ms) [1m[36m (5.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.9ms) Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Completed 500 Internal Server Error in 5ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status Completed 500 Internal Server Error in 5ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (15.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ghSFHRwbzzicu9ZoWcFy4.ctYVF6wLDW81c.cAnmG/nM59rKwIvuC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$.qFP3XcJuoND319CbEKEzeSfLetsttqqZ0VaGzzL0mZYILhuwBHWa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59: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", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$VTc5LNARZp2RIuaYHUE7JOUmtfXpfTBXhYXtFb9xg7cCAeq/ajfPS"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 13:59:35 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 13:59:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 09:59:35 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:00:19', '2013-05-06 14:00:19', 349534908) [1m[36m (29.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 14:00:19 UTC", "updated_at"=>"2013-05-06 14:00:19 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (51.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 145ms (Views: 143.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jzr9pwy6pmXwpzsLxsxR' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "jzr9pwy6pmXwpzsLxsxR"], ["reset_password_sent_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.5ms) Date: Mon, 06 May 2013 10:00:20 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b7744a7e0_12d8c3fc3cc46067079019@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 60ms (ActiveRecord: 0.9ms) [1m[36m (35.3ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.4ms) Completed 200 OK in 27ms (Views: 26.3ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$MKJpm0xNYnO6LZTOH4quWuJeg86VBJBvn06FTaoffV9xaMnTrSKiu"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 25ms (ActiveRecord: 1.3ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$h1GfDa19foZIXD/6FTF6zO9XSJCE7Vbzdox1aZ4MfB/0PdoCnB1xG"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 16ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 65ms (Views: 63.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$jBXB0qNTy0gVk5SpCPrreOhvABluTfJC55l0qvkfHWrNUymXNFDea"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$BmJqntNXCUFu.b7jJsw5au9cKyqdBK10ZrkyVqSD/s2KQm5qS3Uji"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:00:20 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", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:00:20 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lVGpI7TL6npPMGG7KYc9UOzZQSRSQ7W0UC37Q5mcfUH8bZEOq9KGy"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 14:00:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:00:20 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 14:00:21 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:00:21 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:00:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 1.6ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:00:21 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:01:28', '2013-05-06 14:01:28', 349534908) [1m[36m (3.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 14:01:28 UTC", "updated_at"=>"2013-05-06 14:01:28 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 14:01:28 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 14:01:28 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (62.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 159ms (Views: 157.0ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xbXbx9Ncsxx4sqZVn29k' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "xbXbx9Ncsxx4sqZVn29k"], ["reset_password_sent_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (11.6ms) Date: Mon, 06 May 2013 10:01:29 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b7b91d11f_12dc73fd2754606682646@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 62ms (ActiveRecord: 0.9ms) [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.2ms) Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$6CLeT2QBe8oVUx55fS.ZkOtpViUiuUVettoZG/50n8HuztKBllXhC"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$Z3npLZ6tbG1B/qF8y0.mueWZs5Yki22kV3EZVtZPOMsxPPLJc977a"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (42.6ms) Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$/391VkEBmww2jH7qG.PXwuyYCRvDuxBnXghykNSkrBTAmciPiQi8y"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) [1m[36m (9.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$KqvM47UGM1I90J7uVq/hj.9a7QBMERgaLtBoYrXW1C8aLh9qEtS6q"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:01: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", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$skrtAFI2WLKTAU2M0MfYMOsESC2yaevNnwvRaJTLsqkDaMx1ROlTa"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:01:29 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:01:29 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:01:29 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-06 14:03:15', '2013-05-06 14:03:15', 349534908) [1m[36m (3.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-06 14:03:15 UTC", "updated_at"=>"2013-05-06 14:03:15 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (2.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (51.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 139ms (Views: 137.2ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'VkogqxVn6cmbxyZHTfGs' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "VkogqxVn6cmbxyZHTfGs"], ["reset_password_sent_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.6ms) Date: Mon, 06 May 2013 10:03:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5187b823798f2_12e673fe6d906066c484ee@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 63ms (ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms) Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$wp51babeYJB6D9ZNvXjZs.F59h/3o03Pj2syV3b3Owej/1LYXzNW6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (14.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$w2yjLHlEkac9lqmqgv1DXOvzc96oFwMHJMamHz77OxGnXkR311wXW"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:03:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 29ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:03:15 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ZlR9LUw9Ya4uj2ev2ZBnDulD9Nt/anRFJdxM2l41UWLz5pZwe1zSW"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 06 May 2013 14:03:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:03:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:03:15 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:03:16 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$DIKKNHXQjeoRrL1KSimpuuQhUUm52pn3YK4X552PQbjWdc.VneF.K"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 06 May 2013 14:03:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 06 May 2013 14:03:16 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:03:16 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", Mon, 06 May 2013 14:03:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 06 May 2013 14:03:16 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$zJMeJCGsiHT8JApiFn8nmesdys1ldYVY4R3LZKyZ8vNw4pHz9WHcq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 06 May 2013 14:03:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 06 May 2013 14:03:16 UTC +00:00], ["current_sign_in_at", Mon, 06 May 2013 14:03:16 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 06 May 2013 14:03:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (7.4ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-06 10:03:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 77ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (13.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 14:53:14', '2013-05-07 14:53:14', 349534908) [1m[36m (21.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 14:53:14 UTC", "updated_at"=>"2013-05-07 14:53:14 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 14:53:15 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 14:53:15 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 112ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (6.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (17.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 24ms (ActiveRecord: 18.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (18.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (61.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 805ms (Views: 802.4ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'yr2kzUtxPfkozhQXnAE8' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "yr2kzUtxPfkozhQXnAE8"], ["reset_password_sent_at", Tue, 07 May 2013 14:53:15 UTC +00:00], ["updated_at", Tue, 07 May 2013 14:53:15 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (41.9ms) Date: Tue, 07 May 2013 10:53:16 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5189155c2b33e_ca973feffe06067024624@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 312ms (ActiveRecord: 1.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (12.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.1ms) Completed 200 OK in 148ms (Views: 146.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:53:16 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$kDe1fW938GCqAtaGiG1zwubAkFVmQLXMA.F1rQRz05Sc6/GzYfDIa"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 14:53:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 77ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (7.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:53:16 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$8pCBfIq9zBM2i4kEiig8Luf2yqirIZF3PO4YcFICCvvyk2IoX.8wy"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 14:53:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 14:53:16 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:53:16 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 14:53:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 90ms (Views: 0.5ms | ActiveRecord: 1.1ms) [1m[35m (8.6ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 57ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 4ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 64ms (Views: 61.9ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 38ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$n.ITSIJ4xl6Std28.jyeAuI/NEegLBO1.FMJB4LDjjPeOg.hapswW"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 14:53:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$/K/yi3cstSflAQ0S34y4FOlQMZk5/TSaChUTAAvqhk96gTVBFPa8q"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 14:53:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:53:17 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", Tue, 07 May 2013 14:53:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 14ms (ActiveRecord: 0.8ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ZSjO.DNxpnWI2UTje1eOzOZIvfRIx4R/hRR8uQbMsA/cqtThj3PVa"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 14:53:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 9ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:53:17 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 14:53:17 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 89ms (Views: 0.2ms | ActiveRecord: 1.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 10:53:17 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.7ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 864673665, 201799169)[0m [1m[35mFixture Delete (13.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 14:56:07', '2013-05-07 14:56:07', 349534908) [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 14:56:07 UTC", "updated_at"=>"2013-05-07 14:56:07 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 14:56:07 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 14:56:07 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 57ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 7ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (112.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 655ms (Views: 651.9ms | ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Dj9N58A6q56Taus6TMog' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Dj9N58A6q56Taus6TMog"], ["reset_password_sent_at", Tue, 07 May 2013 14:56:08 UTC +00:00], ["updated_at", Tue, 07 May 2013 14:56:08 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (62.5ms) Date: Tue, 07 May 2013 10:56:08 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51891608d30ef_cbaa3fed58860670826ca@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 435ms (ActiveRecord: 1.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (43.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (46.2ms) Completed 200 OK in 290ms (Views: 289.3ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:56:09 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$GZOWAueEtEVDDloJ/PQqFO/prFLuZil1sj3o1NMkQC3QDYqFta2Ba"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 14:56:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 81ms (ActiveRecord: 1.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:56:09 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$AULOXDv/1ud0/5y2vEKpH.OVNsmHEefaM6c8nxrc87Rctfw7PsVv2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 14:56:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 14:56:09 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:56:09 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 14:56:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.5ms | ActiveRecord: 0.9ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 4ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms) Completed 200 OK in 184ms (Views: 182.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 22ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$3hz0NTSgctxhGp34XcdobOgiY31xwtD4q4cJ730NFpOZQEc/rUUdu"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 14:56:10 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 20ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms) [1m[36m (12.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$zkfGQ.3INuQGFGrkCoH88OPyh8tV7cfIrjwldz4r7bnc8H115R0ai"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 14:56:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:56:10 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", Tue, 07 May 2013 14:56:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$kC.L./uqN4Xu2B1He2sbcezqI66kSJJx3O8zL39K.VM.BMzufTqMm"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 14:56:10 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (3.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 14:56:10 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 14:56:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (11.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 10:56:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 83ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:15:04', '2013-05-07 15:15:04', 349534908) [1m[36m (9.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 15:15:04 UTC", "updated_at"=>"2013-05-07 15:15:04 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 15:15:04 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 15:15:04 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 100ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (3.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (9.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (67.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 249ms (Views: 246.9ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'r5HFyu1xhDdpxWxWqwRq' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "r5HFyu1xhDdpxWxWqwRq"], ["reset_password_sent_at", Tue, 07 May 2013 15:15:04 UTC +00:00], ["updated_at", Tue, 07 May 2013 15:15:04 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (39.7ms) Date: Tue, 07 May 2013 11:15:04 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51891a78e7ffb_d2443fe0b1c60670985c4@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 238ms (ActiveRecord: 0.9ms) [1m[36m (18.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.2ms) Completed 200 OK in 161ms (Views: 159.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$avhwHjPS0Jpml8dYz6bVqOxrHEMfVBc82DHzc7SLvppcsuoSc7hM2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 71ms (ActiveRecord: 0.9ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (27.2ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$/vlMmf/Vy8PVTDpU3abFmOYyfl2iujqO4y9W5Xd.wRaGs21DUbst6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (3.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 85ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 5ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 22ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$vT1VO8K472.O7kyG0HBYieXy7aHFqr5V007JKW4gtR7swHVMZ2SwK"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 8ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms) Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$LX.MFgUxiO63SifIg/FOd.ou7RMrF0vIvFXBiPpxvb7AhR3J9EbGi"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:15:05 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", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 13ms (ActiveRecord: 0.8ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:15:05 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$iB6CoKz/yPy6m15auvOJhuzfZcQBeVHbfBbKuNTKDgOHm9KcahReq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 15:15:05 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:15:05 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 15:15:06 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:15:06 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:15:06 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:15:06 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:16:19', '2013-05-07 15:16:19', 349534908) [1m[36m (2.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 15:16:19 UTC", "updated_at"=>"2013-05-07 15:16:19 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 15:16:19 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 15:16:19 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (48.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 142ms (Views: 139.8ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SzzWzvCJfqZxpv33ZYpm' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "SzzWzvCJfqZxpv33ZYpm"], ["reset_password_sent_at", Tue, 07 May 2013 15:16:19 UTC +00:00], ["updated_at", Tue, 07 May 2013 15:16:19 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (10.3ms) Date: Tue, 07 May 2013 11:16:19 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51891ac3a7fb0_d2953ffed946067890617@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 60ms (ActiveRecord: 0.9ms) [1m[36m (48.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms) Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:16:19 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$FfUUU4gZj4Bw50ddUw2JzO/Y9n7XUIoXyhSOzIcA/LZ0XG5bFXPjq"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:16:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:16:19 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$WCd4rOktIBHr2hNqioOFm.f4.yZC3//erfmv7iXqdO8VQd3DzqEEq"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:16:19 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 3ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (41.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 21ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$sNeP6fHJ1mv/Hi2ydr.lB.drg1aXq4A/tXwR77DtWOE0OPWQjUr0y"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$0P3i1EybOq8AnFO32Tgty.6lp//Qek7mAB2yPhW/HYOxuNU0o9DJO"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:16:20 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", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$V3e1h7GpGxpzbDHfmZvZWuayz7INF65eJJxQg6vpAex.WN0TOr0Zq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:16:20 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:16:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:16:20 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 74ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 15:18:24', '2013-05-07 15:18:24', 349534908) [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 15:18:24 UTC", "updated_at"=>"2013-05-07 15:18:24 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 15:18:24 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 15:18:24 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 17ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (2.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (49.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms) Completed 200 OK in 145ms (Views: 142.5ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'fQKiAzvYV4eHpf1c4Eop' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "fQKiAzvYV4eHpf1c4Eop"], ["reset_password_sent_at", Tue, 07 May 2013 15:18:24 UTC +00:00], ["updated_at", Tue, 07 May 2013 15:18:24 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (12.3ms) Date: Tue, 07 May 2013 11:18:24 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51891b40b6905_d34c3ff895c60674882b8@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 60ms (ActiveRecord: 0.9ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.8ms) Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:18:24 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$viUOBGv0R0Y6/.XW1x7vIOYF.NV9OlJCbCfe7wDPfXjDWED7NI9Eu"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:18:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 14ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:18:24 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$KBkYajUqpSdOj.1pzYb2FuDSHTrHzUoKUiFeq8Hjvu8g5lecdF1RG"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 15:18:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 10ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (41.2ms) Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$lmdU0MQ/HQcoWiDucPX9/uIkpzzg/tfOuHQIUs3sgb24MEjea3jCC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$6SEfsMq9yzPa6cQJ9BWYFOS4V/MmgZFclvq4lgr.JFiRKEVGXlh9e"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:18: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", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$qMrwV5k3bF7JcsQc5d/qveWbpMgcXpwEnxYGIH08tToXbs44xSOSC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 15:18:25 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 15:18:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[36m (17.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 11:18:25 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 16:09:13', '2013-05-07 16:09:13', 349534908) [1m[36m (54.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 16:09:13 UTC", "updated_at"=>"2013-05-07 16:09:13 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 16:09:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 16:09:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 79ms (ActiveRecord: 1.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (9.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (15.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (11.5ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 16ms (ActiveRecord: 12.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (9.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (11.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 743ms (Views: 740.9ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'jqXzYXDSHPsJkNeMBqMz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (5.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "jqXzYXDSHPsJkNeMBqMz"], ["reset_password_sent_at", Tue, 07 May 2013 16:09:15 UTC +00:00], ["updated_at", Tue, 07 May 2013 16:09:15 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (125.7ms) Date: Tue, 07 May 2013 12:09:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <5189272b4411a_dfe63fc7a8c6067430428@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 281ms (ActiveRecord: 5.8ms) [1m[36m (9.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.0ms) Completed 200 OK in 183ms (Views: 181.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 16:09:15 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$Iii6V4Ig2tf6g5mnjj05SOqvjPdg7BNGMRwy8scv4ODBJ7Y1zA6Lm"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 16:09:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 43ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (14.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 16:09:15 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$1L283ltosIIfZ0dELIZmm.Cuu5btel1VIf0uY1kWO5Ic5VrZoIwk6"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 16:09:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (2.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (5.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 16:09:15 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 16:09:15 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 16:09:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 91ms (Views: 90.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$ApTX/tFK1SnVbdGsy13Wt.vAvpaxuOavXTcRpoHhZHTTBwWc94VBy"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 16:09:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ERFoPwNleg3.F1rjeHvciuu2/ulZzOm8U4RZSwAiZRJqnrQppwPsm"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 16:09:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 16:09:16 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", Tue, 07 May 2013 16:09:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Eb4f1MobjBQBBNK/WeJ0TO4G1dn.IUMPQx5qnXpioebN.kHp.xweq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 16:09:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 16:09:16 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 16:09:16 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 12:09:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.8ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 864673665, 201799169)[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 725306934)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 17:36:21 UTC", "updated_at"=>"2013-05-07 17:36:21 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 17:36:21 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 17:36:21 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (53.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 211ms (Views: 208.8ms | ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'gbfZEKyjU9gRoTBxFUqd' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "gbfZEKyjU9gRoTBxFUqd"], ["reset_password_sent_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (38.6ms) Date: Tue, 07 May 2013 13:36:22 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51893b9640550_f4213fd0d54606782431f@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 194ms (ActiveRecord: 1.1ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.9ms) Completed 200 OK in 96ms (Views: 95.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ZHSWMDgAaBJV/6P.2BvKM.Gl4Ev3SzOZTn206/zPrSb/asNn4ufgO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 21ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$I.PWYhnS/dYqegIkndJQ2eic/VlbIX9XJiX16wkG.dgbZr8BmKyGm"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 5ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 79ms (Views: 0.4ms | ActiveRecord: 0.8ms) [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Unpermitted parameters: password Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms) Completed 200 OK in 90ms (Views: 89.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:22 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 36ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$mQEW0xkP/6c1TQeRyBOvceKSMYzzCXV81i3DdGn/I2F5bxCPQYwwi"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$GBqz5y/7TLxPgeD3c0IQ/.dRQVE/jUSBgQJ/UbaovUNGaO62xUlo."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36: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", Tue, 07 May 2013 17:36:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CnokUXJWD68LDyqxPlf26.y7n5EeCb2Y/dW.PKMotlYBKt7ZjAdQq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 13:36:23 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 76ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 349534908) [1m[36m (186.5ms)[0m [1mcommit transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-16 14:00:22 UTC", "updated_at"=>"2013-07-16 14:00:22 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 20ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (22.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (56.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms) Completed 200 OK in 801ms (Views: 798.5ms | ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Eqq2u4RYAXPMmTd3jNmA' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Eqq2u4RYAXPMmTd3jNmA"], ["reset_password_sent_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14.0ms) Date: Tue, 16 Jul 2013 10:00:23 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51e551f7907a4_380f3fec5a0606cc5485b@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 108ms (ActiveRecord: 1.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (11.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (14.7ms) Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ff6x5zer6PwqUR1uELldqOrsVLl4PfERzCpfcrfJ30UJ/MwyOpG6i"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 17ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$HVhUJH1wReTcxkPd9wW7I.CwZBSzoEJGfiDYd5cMDerIqNVGZ7aum"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 11ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (38.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms) Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 19ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$gLVQxl4shOXOTiCSvtDT1OE36hMvOqwPqbPpWGQNA4jJ6AFXA98IC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$lap/W4602ocpBcsr.WyEvO78uOzOVLqYiSghSn8p28S.CVsZ8bPs2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00: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", Tue, 16 Jul 2013 14:00:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ab/oFrXrPAuNoiWHetQKvO//xq/91sAzfISm4Ni6i4xoUr8bjqDIW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:31:09 UTC", "updated_at"=>"2013-07-17 12:31:09 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 134ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 202ms (Views: 199.1ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sJKG47j5nNsjLNxKU6qS' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "sJKG47j5nNsjLNxKU6qS"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (33.0ms) Date: Wed, 17 Jul 2013 08:31:10 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51e68e8e1efc7_1223c3ff7410606d025b2@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 189ms (ActiveRecord: 1.2ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.2ms) Completed 200 OK in 33ms (Views: 32.0ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$voClO1Rs/Ap6F4xiH0AY9OHHmyiVfeGLrNP3/223vVZKzpmqsGJUe"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 38ms (ActiveRecord: 1.0ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$BmPYjhAbZhyBhHF4c4DEJ.Mfu9YZdB5hyzKJ.q/ziYoNqP2rVbFra"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cjoyDhICSHo77qSJL6d6Te6AMI8p0W3cNKoY0HMxbU8W/PIRz1Y2G"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 48ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms) Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FcxH5lRYenXHzQE6E1W9bupDOh63/hmD9r1DxHdQWtNDotsHbIonu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 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", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GhK6ZknTKFOUri6wl2qJTOl8x73bmcMLJGgCfhsiqw9UZJY0LJRDO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:31:10 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 349534908) [1m[36m (41.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:39:33 UTC", "updated_at"=>"2013-07-17 12:39:33 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 21ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (11.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 187ms (Views: 185.1ms | ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9U9XDNUuBZ8sxdy5x6HS' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "9U9XDNUuBZ8sxdy5x6HS"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (14.5ms) Date: Wed, 17 Jul 2013 08:39:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51e69085a3ddf_1245e3fdfe84606d8316d8@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 67ms (ActiveRecord: 0.9ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.4ms) Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$kwjBl5Jk3zAtiUlSrBdQKeWyqJa2vidYEzQ2dIuHxydcDEDAFgW9q"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 15ms (ActiveRecord: 0.8ms) [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$mSbWwokFPEKJuL6UCa0u4.wWrYP3PRqwcCoiboorFXk9DROdQ58w."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.9ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cPmzghLwBtkN.W3FwVgg7uDuQ0v20htgDlEXmVG3Xu4aRUJG4aewC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$TseIVp7wm3BeBfy0OYCGFuRShkN24ZaYfWgfoRzATnv6RNY3KfCEy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39: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", Wed, 17 Jul 2013 12:39:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HjM5dG1g9KYuCiL3/jNWq.JTorIIBBL3OgWbJ6vrjXMsUDb3lQnC."], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:39:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 864673665, 201799169)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:55:40', '2013-07-17 12:55:40', 349534908) [1m[36m (2.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:55:40 UTC", "updated_at"=>"2013-07-17 12:55:40 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Jul 2013 12:55:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:55:40 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 19ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 138ms (Views: 135.7ms | ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'tzqD8B9hxzxRsLg7ZmjC' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "tzqD8B9hxzxRsLg7ZmjC"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (13.9ms) Date: Wed, 17 Jul 2013 08:55:41 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51e6944d1fc6f_129643fc1b94606d0343b1@edge2.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 68ms (ActiveRecord: 0.9ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms) Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$xZk5qz2aQjRhJxhWY7/V1uSSog8UHR4bM79b7xvpFDiwbqxxPNj3y"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 15ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (22.9ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$F174e8fjy1hnSJTgPuSlPOnisp5k/rjZlYpq.8K44GYRTrpjTSgx2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 26ms (Views: 24.2ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 18ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$B7A/7hp4ro365r7EeJ1uuuPk5t9cHwckl1pJV906Mjvh/9hk3FFJG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms) Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tqEaxCuVXm1GAR2u8rTGoegOgt2QbZNJSJ3EM3NuHBU2R6tjtobN6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 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", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$EpDfhPXB1wlvw.FxgcpEKOkrqMJ/Mibj6jGKwxN5aPgkOqtzeafVu"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms) Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:55:41 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 78ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 13:52:31', '2013-07-25 13:52:31', 349534908) [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-25 13:52:31 UTC", "updated_at"=>"2013-07-25 13:52:31 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 25 Jul 2013 13:52:32 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 25 Jul 2013 13:52:32 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 52ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (15.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 5ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (48.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 901ms (Views: 899.1ms | ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'RZq5sEHCDmyqFnyVVks8' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "RZq5sEHCDmyqFnyVVks8"], ["reset_password_sent_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00], ["updated_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (15.9ms) Date: Thu, 25 Jul 2013 09:52:33 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51f12da1671ad_19133ff9544606d0908d1@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 242ms (ActiveRecord: 1.3ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.9ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.8ms) Completed 200 OK in 93ms (Views: 91.9ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ee6BziZ1bt5EmmNi6S5TeOqtSjmrG1Ot24izXqkMfIDt66Or0/1Q2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 31ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$nfs2cHBKZIbMhMHzRyNWXOj/Iex0IZAOreRh4PCO3.g3TOFf9tExy"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 13:52:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 82ms (Views: 0.4ms | ActiveRecord: 0.8ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.2ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms) Completed 200 OK in 34ms (Views: 32.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 33ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9ffh2K7v3h3JMm4ddbgyDuisCBMz6WNdplJXCADlkVXHupPWmWxgO"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 22ms Started GET "/users/login" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$0AtVweYt36NoXcaM86XjXOXJ/fjV5zqgD7/BCW9KdZ4SgKmnSXEmW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 13:52: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", Thu, 25 Jul 2013 13:52:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CxP.eaPGYs7JHjtGftcJ3uj5ul4LmXy86wALN6YfXaZASmfhwk8jy"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 5ms Started GET "/users/login" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 13:52:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 09:52:34 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 79ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.5ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 864673665, 201799169)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 999914115) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 349534908) [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-25 15:18:14 UTC", "updated_at"=>"2013-07-25 15:18:14 UTC"}} [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 25 Jul 2013 15:18:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 25 Jul 2013 15:18:14 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 90ms (ActiveRecord: 1.4ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 8ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms) Completed 200 OK in 166ms (Views: 162.1ms | ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JcQGWxeBwF4SLsurfiBt' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "JcQGWxeBwF4SLsurfiBt"], ["reset_password_sent_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (17.1ms) Date: Thu, 25 Jul 2013 11:18:15 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51f141b722ec0_2a173fd19c8606d470857@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 148ms (ActiveRecord: 1.4ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (13.1ms) Completed 200 OK in 86ms (Views: 84.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$Dfl72.Lyil6LCEfsVJCn6OYRiNKICd9ubOQhCExVfA46RR4V72Fwi"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 44ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$67sVga53oc586Dq6QB3YhekHhzQE8w.x4yOBn9sQ8I2rdxthB1XAO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 10ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 5ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (13.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 14.2ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.3ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms) Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:15 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 55ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (22.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$kpbrNrhb7/vhumbl/BZNBOT52DzpkEo2jq7Q7i8Ho.kDc.ExNPX66"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:15 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 33ms Started GET "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms) Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.0ms) [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 2ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$l4h5KudW1lg5Y3iPiGCSyOUBel.cbzBiX6MT.5yfeA.dNOGEMbeo."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:16 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", Thu, 25 Jul 2013 15:18:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$2CVNuUU7lZroE9ucMCO.T.yQVUrHm2HMYxZa/6/W3W8kANUl8KH.O"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms) Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.0ms) [1m[36m (8.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 11:18:16 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 81ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (170.7ms)[0m DELETE FROM "authentications" [1m[36mFixture Insert (28.9ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 949717663, 201799169)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 876923740, 201799169) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 864673665, 201799169)[0m [1m[35mFixture Delete (37.6ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 201799169)[0m [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 999914115) [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 725306934)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-08-05 18:42:59', '2013-08-05 18:42:59', 349534908) [1m[36m (100.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------- AuthenticationTest: test_should_get_provider_name ------------------------------------------------- [1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case -------------------------------------------------------------------------------- [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_create_authentication ------------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m Processing by Contour::AuthenticationsController#create as HTML Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-08-05 18:42:59 UTC", "updated_at"=>"2013-08-05 18:42:59 UTC"}} [1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m Logged in user found, creating associated authentication. [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 05 Aug 2013 18:43:00 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 05 Aug 2013 18:43:00 UTC +00:00], ["user_id", 201799169]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/authentications Completed 302 Found in 19ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_destroy_authentication -------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]] [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" Processing by Contour::AuthenticationsController#destroy as HTML Parameters: {"id"=>"949717663"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/authentications Completed 302 Found in 4ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" [1m[36m (13.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- Contour::AuthenticationsControllerTest: test_should_get_index ------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]] Processing by Contour::AuthenticationsController#index as HTML [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]] [1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]] Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms) Completed 200 OK in 1994ms (Views: 1991.2ms | ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '8szxMj9pABub3nVDFuyE' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (93.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "8szxMj9pABub3nVDFuyE"], ["reset_password_sent_at", Mon, 05 Aug 2013 18:43:02 UTC +00:00], ["updated_at", Mon, 05 Aug 2013 18:43:02 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Sent mail to valid@example.com (50.3ms) Date: Mon, 05 Aug 2013 14:43:03 -0400 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: valid@example.com Message-ID: <51fff2373327b_e7d73fc8ad8606cc459ed@edge.partners.org.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello valid@example.com!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Redirected to http://test.host/users/login Completed 302 Found in 865ms (ActiveRecord: 94.0ms) [1m[36m (593.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------- Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password ----------------------------------------------------------------------------- Processing by Contour::PasswordsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.2ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (13.3ms) Completed 200 OK in 51ms (Views: 49.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up ------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}} Unpermitted parameters: spam [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (6.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 05 Aug 2013 18:43:03 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$jT6DYLkn2OOeaWZpm9fWe.g/sSgn74rWEnFvxM8W3/GhcygIDU5d2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 05 Aug 2013 18:43:03 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 32ms (ActiveRecord: 7.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status -------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} Unpermitted parameters: status [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (12.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 05 Aug 2013 18:43:03 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$TSHKdlwANBHGGkjcGXaj..1Ko2T0ketwYS6NxRZS3abMGB8GE2nC."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 05 Aug 2013 18:43:03 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/users/login Completed 302 Found in 25ms (ActiveRecord: 12.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (19.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------- Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up --------------------------------------------------------------------------------------------- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m Processing by Contour::RegistrationsController#create as HTML Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}} SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"} Unpermitted parameters: spam Redirected to http://test.host/users/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------- Contour::SessionsControllerTest: test_return_user_json_object_on_login ---------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] Processing by Contour::SessionsController#create as JSON Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["current_sign_in_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 87ms (Views: 0.5ms | ActiveRecord: 1.1ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email ---------------------------------------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m Redirected to http://test.host/auth/google_apps Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email ---------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]] Redirected to http://test.host/auth/ldap Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------- Contour::SessionsControllerTest: test_should_not_login_invalid_credentials -------------------------------------------------------------------------- Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = '' Completed 401 Unauthorized in 3ms Processing by Contour::SessionsController#new as HTML Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}} Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper ----------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------- ContourHelperTest: test_should_show_sort_field_helper_with_same_order --------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------- ContourTest: test_truth ----------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 22ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$AZcm3hXt2ig4Ed3vYlG4xOERVxdQxDsF2xs2BeH4gmI5eeNzfAV1m"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 7ms Started GET "/users/login" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms) Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------- NavigationTest: test_friendly_url_forwarding_after_login -------------------------------------------------------- [1m[36mUser Load (14.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (22.3ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$.ZR5JOjqsgWZTTdFs3oq2OGL/mcQZoDr9I6iCqjkqC3LL7qq3HbaW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["current_sign_in_at", Mon, 05 Aug 2013 18:43:04 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", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://www.example.com/logged_in_page Completed 302 Found in 30ms (ActiveRecord: 0.6ms) Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as HTML [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1 Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms) [1m[36m (8.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------- NavigationTest: test_pending_users_should_be_not_be_allowed_to_login -------------------------------------------------------------------- [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (14.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$zOMzB/35FQSP.MpYAOi1kOQaUYoTGJm.I5nTN22Fl8fNk0SOlZGte"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]] [1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m Started POST "/users/login" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by Contour::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 401 Unauthorized in 6ms Started GET "/users/login" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by Contour::SessionsController#new as HTML Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms) Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.0ms) Completed 200 OK in 31ms (Views: 29.0ms | ActiveRecord: 0.0ms) [1m[36m (13.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------- NavigationTest: test_root_navigation_redirected_to_login_page ------------------------------------------------------------- [1m[36mUser Load (18.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#index as HTML Completed 401 Unauthorized in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------- NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http ------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]] [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (14.0ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["current_sign_in_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 05 Aug 2013 18:43:04 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 99ms (Views: 0.3ms | ActiveRecord: 14.4ms) [1m[36m (20.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password ------------------------------------------------------------------------------------------------ [1m[36mUser Load (14.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]] Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-08-05 14:43:04 -0400 Processing by WelcomeController#logged_in_page as JSON [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1 Completed 401 Unauthorized in 80ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ UserTest: test_should_apply_omniauth ------------------------------------ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]] [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------- UserTest: test_should_get_reverse_name -------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]] [1m[36m (0.1ms)[0m [1mrollback transaction[0m