[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