user_impersonate2 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/user_impersonate/application_helper.rb +8 -2
- data/lib/user_impersonate/devise_helpers.rb +8 -2
- data/lib/user_impersonate/version.rb +1 -1
- data/test/functional/impersonate_controller_test.rb +50 -0
- data/test/unit/helpers/user_impersonate/devise_helpers_test.rb +60 -0
- metadata +213 -267
- checksums.yaml +0 -7
- data/test/dummy-rails3/db/development.sqlite3 +0 -0
- data/test/dummy-rails3/db/test.sqlite3 +0 -0
- data/test/dummy-rails3/log/development.log +0 -432
- data/test/dummy-rails3/log/test.log +0 -3181
- data/test/dummy-rails4/db/development.sqlite3 +0 -0
- data/test/dummy-rails4/db/test.sqlite3 +0 -0
- data/test/dummy-rails4/log/development.log +0 -45
- data/test/dummy-rails4/log/test.log +0 -2053
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2625847957ecb8614efc9b58b07cabdf +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/291faed72d20664326ce265eb8e1ed2f +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/35f33ae400a6b0b5bf527436a68133b5 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/3b83d2c20dfdb631259eb9d056ea4419 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/5f1c168e97e274509aa4673eab0d86f6 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/681d1010f98d5ed273e67645c7cb454d +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7411b44628aea038332f13f5ed73e073 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/79203f7770f5d8956dee4606e93f3d65 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7f14251885cab31b58c878119cbdc199 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8473d4c341d1accbf02a0c2d8270c68e +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8483b329d12e7e986bc5a2204bbcb4f8 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8ff157af159f38d424ce1367e29760a2 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/a51c3d05425a76a50181d8144764ac8f +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b6f020b01a84691088a0c459a18f9c7e +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/bdaaf186999b6b59a3063d23b589d307 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d0cde4ef34755468270bb49c4a3689f1 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/f1aac9109f5dae028b3c56eb07311208 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy-rails4/tmp/cache/assets/test/sprockets/fd6c8e27b44aa2db77bf0a8b5118bdf8 +0 -0
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 41f59533772641d18710a8590c923455b2ba8fd7
|
4
|
-
data.tar.gz: e9f1bf130006f276fd3f63ea05ecdde95831c227
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 4be419909db112d9b44936d852e65ba7f5a9a84ed79b4840b0ddfb393fa156c2f9bdd4bdd86cb920c3d4264bb0bba786ab76b47855e7e03b7c1468e101090547
|
7
|
-
data.tar.gz: 52570611f69ad24203fa3cce786ec1712efebea4c797a41913c92385ba718a1af12303361c3774be949c5270f7d1ff3f9266bda30a212158a2d1c3f96173e419
|
Binary file
|
Binary file
|
@@ -1,432 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
-
[1m[35m (33.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
4
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
5
|
-
[1m[35m (21.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
6
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
7
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
8
|
-
[1m[36m (18.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
9
|
-
[1m[35m (36.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
11
|
-
[1m[35m (19.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13
|
-
[1m[35m (22.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
14
|
-
[1m[36m (17.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
15
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
16
|
-
Connecting to database specified by database.yml
|
17
|
-
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
18
|
-
[1m[35m (48.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
19
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
20
|
-
[1m[35m (35.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
21
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
22
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
23
|
-
[1m[36m (31.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
24
|
-
[1m[35m (30.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
25
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
26
|
-
[1m[35m (41.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
27
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
28
|
-
[1m[35m (31.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
29
|
-
[1m[36m (30.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
30
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
31
|
-
Connecting to database specified by database.yml
|
32
|
-
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
33
|
-
[1m[35m (24.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
34
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
35
|
-
[1m[35m (26.2ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
36
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
37
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
38
|
-
[1m[36m (21.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
39
|
-
[1m[35m (26.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
41
|
-
[1m[35m (25.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
42
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
43
|
-
[1m[35m (21.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
44
|
-
[1m[36m (23.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
45
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
46
|
-
Connecting to database specified by database.yml
|
47
|
-
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
48
|
-
[1m[35m (18.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
49
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
50
|
-
[1m[35m (16.1ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
51
|
-
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
52
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
53
|
-
[1m[36m (40.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
54
|
-
[1m[35m (28.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
55
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
56
|
-
[1m[35m (28.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
57
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
58
|
-
[1m[35m (16.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
59
|
-
[1m[36m (26.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
60
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
61
|
-
Connecting to database specified by database.yml
|
62
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
63
|
-
[1m[35m (16.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
64
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
65
|
-
[1m[35m (30.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
66
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
67
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
68
|
-
[1m[36m (24.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
69
|
-
[1m[35m (15.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
70
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
71
|
-
[1m[35m (15.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
72
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
73
|
-
[1m[35m (31.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
74
|
-
[1m[36m (24.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
75
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
76
|
-
Connecting to database specified by database.yml
|
77
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
78
|
-
[1m[35m (32.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
79
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
80
|
-
[1m[35m (24.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
81
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
82
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
83
|
-
[1m[36m (18.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
84
|
-
[1m[35m (21.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
85
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
86
|
-
[1m[35m (15.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
87
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
88
|
-
[1m[35m (20.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
89
|
-
[1m[36m (14.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
90
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
91
|
-
Connecting to database specified by database.yml
|
92
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
93
|
-
[1m[35m (36.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
94
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
95
|
-
[1m[35m (35.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
96
|
-
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("users")[0m
|
97
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
98
|
-
[1m[36m (20.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
99
|
-
[1m[35m (21.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
100
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
101
|
-
[1m[35m (15.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
102
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
103
|
-
[1m[35m (31.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
104
|
-
[1m[36m (25.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
105
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
106
|
-
Connecting to database specified by database.yml
|
107
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
108
|
-
[1m[35m (19.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
109
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
110
|
-
[1m[35m (16.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
111
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
112
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
113
|
-
[1m[36m (24.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
114
|
-
[1m[35m (26.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
115
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
116
|
-
[1m[35m (21.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
117
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
118
|
-
[1m[35m (21.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
119
|
-
[1m[36m (17.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
120
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
121
|
-
Connecting to database specified by database.yml
|
122
|
-
[1m[36m (0.8ms)[0m [1mselect sqlite_version(*)[0m
|
123
|
-
[1m[35m (27.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
124
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
125
|
-
[1m[35m (15.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
126
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
127
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
128
|
-
[1m[36m (20.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
129
|
-
[1m[35m (18.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
130
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
131
|
-
[1m[35m (15.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
132
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
133
|
-
[1m[35m (37.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
134
|
-
[1m[36m (29.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
135
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
136
|
-
Connecting to database specified by database.yml
|
137
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
138
|
-
[1m[35m (28.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
139
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
140
|
-
[1m[35m (31.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
141
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
142
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
143
|
-
[1m[36m (44.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
144
|
-
[1m[35m (28.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
145
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
146
|
-
[1m[35m (30.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
147
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
148
|
-
[1m[35m (23.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
149
|
-
[1m[36m (17.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
150
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
151
|
-
Connecting to database specified by database.yml
|
152
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
153
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
154
|
-
[1m[36m (31.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f') [0m
|
155
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
156
|
-
[1m[36m (21.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
157
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
158
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
159
|
-
[1m[35m (30.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
160
|
-
[1m[36m (23.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
161
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
162
|
-
[1m[36m (26.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
163
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
164
|
-
[1m[36m (32.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
165
|
-
[1m[35m (25.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
166
|
-
Connecting to database specified by database.yml
|
167
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
168
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
169
|
-
[1m[36m (35.2ms)[0m [1mDROP TABLE "users"[0m
|
170
|
-
[1m[35m (27.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
171
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
172
|
-
[1m[35m (19.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
173
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
174
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
175
|
-
[1m[36m (20.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
176
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
177
|
-
Connecting to database specified by database.yml
|
178
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
179
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
180
|
-
[1m[36m (17.9ms)[0m [1mDROP TABLE "users"[0m
|
181
|
-
[1m[35m (21.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
182
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
183
|
-
[1m[35m (29.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
184
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
185
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
186
|
-
[1m[36m (37.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
187
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
188
|
-
Connecting to database specified by database.yml
|
189
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
190
|
-
[1m[35m (22.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
191
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
192
|
-
[1m[35m (15.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
193
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
194
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
195
|
-
[1m[36m (29.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
196
|
-
[1m[35m (23.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
197
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
198
|
-
[1m[35m (16.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
199
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
200
|
-
[1m[35m (29.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
201
|
-
[1m[36m (15.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
202
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
203
|
-
Connecting to database specified by database.yml
|
204
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
205
|
-
[1m[35m (23.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
206
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
207
|
-
[1m[35m (20.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
208
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
209
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
210
|
-
[1m[36m (21.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
211
|
-
[1m[35m (17.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
212
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
213
|
-
[1m[35m (15.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
214
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
215
|
-
[1m[35m (16.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
216
|
-
[1m[36m (18.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
217
|
-
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
218
|
-
Connecting to database specified by database.yml
|
219
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
220
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
221
|
-
[1m[36m (18.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f') [0m
|
222
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
223
|
-
[1m[36m (20.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
224
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
225
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
226
|
-
[1m[35m (20.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
227
|
-
[1m[36m (15.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
228
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
229
|
-
[1m[36m (15.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
230
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
231
|
-
[1m[36m (15.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
232
|
-
[1m[35m (18.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
233
|
-
Connecting to database specified by database.yml
|
234
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
235
|
-
[1m[35m (17.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
236
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
237
|
-
[1m[35m (21.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
238
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
239
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
240
|
-
[1m[36m (31.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
241
|
-
[1m[35m (26.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
242
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
243
|
-
[1m[35m (31.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
244
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
245
|
-
[1m[35m (32.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
246
|
-
[1m[36m (21.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
247
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
248
|
-
Connecting to database specified by database.yml
|
249
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
250
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
251
|
-
[1m[36m (36.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f') [0m
|
252
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
253
|
-
[1m[36m (26.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
254
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
255
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
256
|
-
[1m[35m (33.9ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
257
|
-
[1m[36m (29.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
258
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
259
|
-
[1m[36m (33.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
260
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
261
|
-
[1m[36m (19.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
262
|
-
[1m[35m (18.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
263
|
-
Connecting to database specified by database.yml
|
264
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
265
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
266
|
-
[1m[36m (22.4ms)[0m [1mDROP TABLE "users"[0m
|
267
|
-
[1m[35m (27.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
268
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
269
|
-
[1m[35m (29.7ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
270
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
271
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
272
|
-
[1m[36m (15.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
273
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
274
|
-
Connecting to database specified by database.yml
|
275
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
276
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
277
|
-
[1m[36m (20.6ms)[0m [1mDROP TABLE "users"[0m
|
278
|
-
[1m[35m (15.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
279
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
280
|
-
[1m[35m (20.2ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
281
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
282
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
283
|
-
[1m[36m (14.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
284
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
285
|
-
Connecting to database specified by database.yml
|
286
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
287
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
288
|
-
[1m[36m (32.9ms)[0m [1mDROP TABLE "users"[0m
|
289
|
-
[1m[35m (23.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
290
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
291
|
-
[1m[35m (21.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
292
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
293
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
294
|
-
[1m[36m (25.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
295
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
296
|
-
Connecting to database specified by database.yml
|
297
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
298
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
299
|
-
[1m[36m (33.3ms)[0m [1mDROP TABLE "users"[0m
|
300
|
-
[1m[35m (32.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
301
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
302
|
-
[1m[35m (24.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
303
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
304
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
305
|
-
[1m[36m (25.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
306
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
307
|
-
Connecting to database specified by database.yml
|
308
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
309
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
310
|
-
[1m[36m (15.7ms)[0m [1mDROP TABLE "users"[0m
|
311
|
-
[1m[35m (25.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
312
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
313
|
-
[1m[35m (20.6ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
314
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
315
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
316
|
-
[1m[36m (24.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
317
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
318
|
-
Connecting to database specified by database.yml
|
319
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
320
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
321
|
-
[1m[36m (36.5ms)[0m [1mDROP TABLE "users"[0m
|
322
|
-
[1m[35m (31.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
323
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
324
|
-
[1m[35m (15.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
325
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
326
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
327
|
-
[1m[36m (31.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
328
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
329
|
-
Connecting to database specified by database.yml
|
330
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
331
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
332
|
-
[1m[36m (21.7ms)[0m [1mDROP TABLE "users"[0m
|
333
|
-
[1m[35m (15.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
334
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
335
|
-
[1m[35m (15.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
336
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
337
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
338
|
-
[1m[36m (15.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
339
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
340
|
-
Connecting to database specified by database.yml
|
341
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
342
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
343
|
-
[1m[36m (26.5ms)[0m [1mDROP TABLE "users"[0m
|
344
|
-
[1m[35m (20.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
345
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
346
|
-
[1m[35m (30.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
347
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
348
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
349
|
-
[1m[36m (24.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
350
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
351
|
-
Connecting to database specified by database.yml
|
352
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
353
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
354
|
-
[1m[36m (34.3ms)[0m [1mDROP TABLE "users"[0m
|
355
|
-
[1m[35m (21.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
356
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
357
|
-
[1m[35m (15.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
358
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
359
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
360
|
-
[1m[36m (22.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
361
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
362
|
-
Connecting to database specified by database.yml
|
363
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
364
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
365
|
-
[1m[36m (17.4ms)[0m [1mDROP TABLE "users"[0m
|
366
|
-
[1m[35m (15.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
367
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
368
|
-
[1m[35m (35.1ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
369
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
370
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
371
|
-
[1m[36m (32.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
372
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
373
|
-
Connecting to database specified by database.yml
|
374
|
-
[1m[36m (1.1ms)[0m [1mselect sqlite_version(*)[0m
|
375
|
-
[1m[35m (36.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
376
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
377
|
-
[1m[35m (26.6ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
378
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
379
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
380
|
-
[1m[36m (32.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
381
|
-
[1m[35m (34.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
382
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
383
|
-
[1m[35m (30.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
384
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
385
|
-
[1m[35m (32.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
386
|
-
[1m[36m (32.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
387
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
388
|
-
Connecting to database specified by database.yml
|
389
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
390
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
391
|
-
[1m[36m (31.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f') [0m
|
392
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
393
|
-
[1m[36m (28.6ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
394
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
395
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
396
|
-
[1m[35m (24.8ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
397
|
-
[1m[36m (20.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
398
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
399
|
-
[1m[36m (40.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
400
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
401
|
-
[1m[36m (37.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
402
|
-
[1m[35m (31.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
403
|
-
Connecting to database specified by database.yml
|
404
|
-
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
405
|
-
[1m[35m (16.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f')
|
406
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
407
|
-
[1m[35m (14.7ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
408
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
409
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
410
|
-
[1m[36m (34.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
411
|
-
[1m[35m (31.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
412
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
413
|
-
[1m[35m (36.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
414
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
415
|
-
[1m[35m (32.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914184123')
|
416
|
-
[1m[36m (32.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914174453')[0m
|
417
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
418
|
-
Connecting to database specified by database.yml
|
419
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
420
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
421
|
-
[1m[36m (29.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "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, "staff" boolean DEFAULT 'f') [0m
|
422
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
423
|
-
[1m[36m (22.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
424
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
425
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
426
|
-
[1m[35m (24.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
427
|
-
[1m[36m (24.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
428
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
429
|
-
[1m[36m (24.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
430
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
431
|
-
[1m[36m (25.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120914184123')[0m
|
432
|
-
[1m[35m (23.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120914174453')
|
@@ -1,3181 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
4
|
-
Completed 500 Internal Server Error in 0ms
|
5
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
6
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
8
|
-
Completed 500 Internal Server Error in 0ms
|
9
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
10
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
12
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
14
|
-
Completed 500 Internal Server Error in 0ms
|
15
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
16
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
18
|
-
Connecting to database specified by database.yml
|
19
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
20
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
21
|
-
Completed 500 Internal Server Error in 0ms
|
22
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
23
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
25
|
-
Redirected to http://test.host/
|
26
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
27
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
28
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
30
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
32
|
-
Completed 500 Internal Server Error in 0ms
|
33
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
34
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
36
|
-
Connecting to database specified by database.yml
|
37
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
38
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
39
|
-
Completed 500 Internal Server Error in 1ms
|
40
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
43
|
-
Redirected to http://test.host/
|
44
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
48
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
50
|
-
Completed 500 Internal Server Error in 0ms
|
51
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
52
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
54
|
-
Connecting to database specified by database.yml
|
55
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
56
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
57
|
-
Completed 500 Internal Server Error in 0ms
|
58
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
59
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
61
|
-
Completed 500 Internal Server Error in 0ms
|
62
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
63
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
65
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
67
|
-
Completed 500 Internal Server Error in 0ms
|
68
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
69
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
71
|
-
Connecting to database specified by database.yml
|
72
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
73
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
74
|
-
Completed 401 Unauthorized in 2ms
|
75
|
-
Rendered text template (0.0ms)
|
76
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
77
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
78
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
79
|
-
Completed 401 Unauthorized in 0ms
|
80
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
82
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
83
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
85
|
-
Completed 401 Unauthorized in 0ms
|
86
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
87
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
89
|
-
Connecting to database specified by database.yml
|
90
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
91
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
92
|
-
Completed 401 Unauthorized in 1ms
|
93
|
-
Rendered text template (0.0ms)
|
94
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
95
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
97
|
-
Redirected to http://test.host/
|
98
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
99
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
100
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
101
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
102
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
103
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
104
|
-
Completed 401 Unauthorized in 1ms
|
105
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
106
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
107
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
108
|
-
Connecting to database specified by database.yml
|
109
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
110
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
111
|
-
Completed 401 Unauthorized in 1ms
|
112
|
-
Rendered text template (0.0ms)
|
113
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
114
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
115
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
116
|
-
Redirected to http://test.host/
|
117
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
118
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
119
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
121
|
-
Completed 401 Unauthorized in 0ms
|
122
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
124
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
125
|
-
Connecting to database specified by database.yml
|
126
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
127
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
128
|
-
Completed 401 Unauthorized in 1ms
|
129
|
-
Rendered text template (0.0ms)
|
130
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
131
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
132
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
133
|
-
|
134
|
-
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
135
|
-
|
136
|
-
Redirected to http://test.host/
|
137
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
138
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
141
|
-
Completed 401 Unauthorized in 0ms
|
142
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
143
|
-
Connecting to database specified by database.yml
|
144
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
145
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
146
|
-
Completed 401 Unauthorized in 1ms
|
147
|
-
Rendered text template (0.0ms)
|
148
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
149
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
151
|
-
|
152
|
-
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
153
|
-
|
154
|
-
Redirected to http://test.host/
|
155
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
156
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
157
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
158
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
159
|
-
Completed 401 Unauthorized in 1ms
|
160
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
161
|
-
Connecting to database specified by database.yml
|
162
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
163
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
164
|
-
Completed 401 Unauthorized in 2ms
|
165
|
-
Rendered text template (0.0ms)
|
166
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
167
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
168
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
169
|
-
Connecting to database specified by database.yml
|
170
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
171
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
172
|
-
Completed 401 Unauthorized in 1ms
|
173
|
-
Rendered text template (0.0ms)
|
174
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
175
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
176
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
177
|
-
Connecting to database specified by database.yml
|
178
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
179
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
180
|
-
Completed 401 Unauthorized in 1ms
|
181
|
-
Rendered text template (0.0ms)
|
182
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
183
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
184
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
185
|
-
Connecting to database specified by database.yml
|
186
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
187
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
188
|
-
Completed 401 Unauthorized in 1ms
|
189
|
-
Rendered text template (0.0ms)
|
190
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
191
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
192
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
193
|
-
Connecting to database specified by database.yml
|
194
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
195
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
196
|
-
Completed 401 Unauthorized in 1ms
|
197
|
-
Rendered text template (0.0ms)
|
198
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
199
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
201
|
-
Redirected to http://test.host/
|
202
|
-
Completed 302 Found in 17463ms (ActiveRecord: 0.0ms)
|
203
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
204
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
205
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
206
|
-
Completed 401 Unauthorized in 2ms
|
207
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
208
|
-
Connecting to database specified by database.yml
|
209
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
210
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
211
|
-
Completed 401 Unauthorized in 1ms
|
212
|
-
Rendered text template (0.0ms)
|
213
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
214
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
215
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
216
|
-
Redirected to http://test.host/
|
217
|
-
Completed 302 Found in 2019ms (ActiveRecord: 0.0ms)
|
218
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
219
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
220
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
221
|
-
Completed 401 Unauthorized in 2ms
|
222
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
223
|
-
Connecting to database specified by database.yml
|
224
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
225
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
226
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
227
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:17', '2014-03-18 23:16:17')
|
228
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:17', '2014-03-18 23:16:17')[0m
|
229
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
230
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
231
|
-
|
232
|
-
|
233
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
234
|
-
Processing by Devise::SessionsController#new as HTML
|
235
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
236
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (40.5ms)
|
237
|
-
Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)
|
238
|
-
|
239
|
-
|
240
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
241
|
-
Processing by Devise::SessionsController#create as HTML
|
242
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
243
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
244
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
245
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:17.630367', "current_sign_in_at" = '2014-03-18 23:16:17.630367', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:17.630997' WHERE "users"."id" = 2
|
246
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
247
|
-
Redirected to http://www.example.com/
|
248
|
-
Completed 302 Found in 83ms (ActiveRecord: 0.0ms)
|
249
|
-
|
250
|
-
|
251
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
252
|
-
Processing by HomeController#index as HTML
|
253
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
254
|
-
Rendered home/index.html.erb within layouts/application (1.5ms)
|
255
|
-
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)
|
256
|
-
|
257
|
-
|
258
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
259
|
-
Processing by HomeController#index as HTML
|
260
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
261
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
262
|
-
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
263
|
-
|
264
|
-
|
265
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
266
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
267
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
268
|
-
Redirected to http://www.example.com/
|
269
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
270
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
271
|
-
|
272
|
-
|
273
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
274
|
-
Processing by HomeController#index as HTML
|
275
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
276
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
277
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
278
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
279
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
280
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
281
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
282
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:17', '2014-03-18 23:16:17')
|
283
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:17', '2014-03-18 23:16:17')[0m
|
284
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
285
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
286
|
-
|
287
|
-
|
288
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
289
|
-
Processing by Devise::SessionsController#new as HTML
|
290
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
291
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms)
|
292
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
293
|
-
|
294
|
-
|
295
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
296
|
-
Processing by Devise::SessionsController#create as HTML
|
297
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
298
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
299
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
300
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:17.782350', "current_sign_in_at" = '2014-03-18 23:16:17.782350', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:17.782892' WHERE "users"."id" = 1
|
301
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
302
|
-
Redirected to http://www.example.com/
|
303
|
-
Completed 302 Found in 79ms (ActiveRecord: 0.0ms)
|
304
|
-
|
305
|
-
|
306
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
307
|
-
Processing by HomeController#index as HTML
|
308
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
309
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
310
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
311
|
-
|
312
|
-
|
313
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
314
|
-
Processing by HomeController#index as HTML
|
315
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
316
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
317
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
318
|
-
|
319
|
-
|
320
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
321
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
322
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
323
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
324
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
325
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.6ms)
|
326
|
-
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
|
327
|
-
|
328
|
-
|
329
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
330
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
331
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
332
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
333
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
334
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
335
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
336
|
-
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
|
337
|
-
|
338
|
-
|
339
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
340
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
341
|
-
Parameters: {"user_id"=>"2"}
|
342
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
343
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
344
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
345
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:17.812604', "current_sign_in_at" = '2014-03-18 23:16:17.812604', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:17.813083' WHERE "users"."id" = 2[0m
|
346
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
347
|
-
Redirected to http://www.example.com/
|
348
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
349
|
-
|
350
|
-
|
351
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
352
|
-
Processing by HomeController#index as HTML
|
353
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
354
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
355
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
356
|
-
Rendered user_impersonate/_header.html.erb (1.2ms)
|
357
|
-
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
358
|
-
|
359
|
-
|
360
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 16:16:17 -0700
|
361
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
362
|
-
Parameters: {"utf8"=>"✓"}
|
363
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
364
|
-
[1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
365
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
366
|
-
[1m[35m (0.4ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-18 23:16:19.382613', "sign_in_count" = 2, "updated_at" = '2014-03-18 23:16:19.385571' WHERE "users"."id" = 1
|
367
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
368
|
-
Redirected to http://www.example.com/
|
369
|
-
Completed 302 Found in 1790ms (ActiveRecord: 1.7ms)
|
370
|
-
|
371
|
-
|
372
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:19 -0700
|
373
|
-
Processing by HomeController#index as HTML
|
374
|
-
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
375
|
-
Rendered home/index.html.erb within layouts/application (5.8ms)
|
376
|
-
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.5ms)
|
377
|
-
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
378
|
-
Connecting to database specified by database.yml
|
379
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
380
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
381
|
-
Completed 401 Unauthorized in 1ms
|
382
|
-
Rendered text template (0.0ms)
|
383
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
384
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
385
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
386
|
-
Redirected to http://test.host/
|
387
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
388
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
389
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
390
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
391
|
-
Completed 401 Unauthorized in 0ms
|
392
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
393
|
-
Connecting to database specified by database.yml
|
394
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
395
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
396
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
397
|
-
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:50', '2014-03-18 23:16:50')
|
398
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:50', '2014-03-18 23:16:50')[0m
|
399
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
400
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
401
|
-
|
402
|
-
|
403
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
404
|
-
Processing by Devise::SessionsController#new as HTML
|
405
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
406
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.4ms)
|
407
|
-
Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.0ms)
|
408
|
-
|
409
|
-
|
410
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
411
|
-
Processing by Devise::SessionsController#create as HTML
|
412
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
413
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
414
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
415
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:50.609090', "current_sign_in_at" = '2014-03-18 23:16:50.609090', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:50.609774' WHERE "users"."id" = 2
|
416
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
417
|
-
Redirected to http://www.example.com/
|
418
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
419
|
-
|
420
|
-
|
421
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
422
|
-
Processing by HomeController#index as HTML
|
423
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
424
|
-
Rendered home/index.html.erb within layouts/application (1.5ms)
|
425
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
426
|
-
|
427
|
-
|
428
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
429
|
-
Processing by HomeController#index as HTML
|
430
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
431
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
432
|
-
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
433
|
-
|
434
|
-
|
435
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
436
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
437
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
438
|
-
Redirected to http://www.example.com/
|
439
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
440
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
441
|
-
|
442
|
-
|
443
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
444
|
-
Processing by HomeController#index as HTML
|
445
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
446
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
447
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
448
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
449
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
450
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
451
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
452
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:50', '2014-03-18 23:16:50')
|
453
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:16:50', '2014-03-18 23:16:50')[0m
|
454
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
455
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
456
|
-
|
457
|
-
|
458
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
459
|
-
Processing by Devise::SessionsController#new as HTML
|
460
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.2ms)
|
461
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms)
|
462
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
463
|
-
|
464
|
-
|
465
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
466
|
-
Processing by Devise::SessionsController#create as HTML
|
467
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
468
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
469
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
470
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:50.721631', "current_sign_in_at" = '2014-03-18 23:16:50.721631', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:50.722173' WHERE "users"."id" = 1
|
471
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
472
|
-
Redirected to http://www.example.com/
|
473
|
-
Completed 302 Found in 78ms (ActiveRecord: 0.0ms)
|
474
|
-
|
475
|
-
|
476
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
477
|
-
Processing by HomeController#index as HTML
|
478
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
479
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
480
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
481
|
-
|
482
|
-
|
483
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
484
|
-
Processing by HomeController#index as HTML
|
485
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
486
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
487
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
488
|
-
|
489
|
-
|
490
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
491
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
492
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
493
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
494
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
495
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.6ms)
|
496
|
-
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
497
|
-
|
498
|
-
|
499
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
500
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
501
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
502
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
503
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
504
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
505
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
506
|
-
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)
|
507
|
-
|
508
|
-
|
509
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
510
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
511
|
-
Parameters: {"user_id"=>"2"}
|
512
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
513
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
514
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
515
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:16:50.783985', "current_sign_in_at" = '2014-03-18 23:16:50.783985', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:16:50.784377' WHERE "users"."id" = 2[0m
|
516
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
517
|
-
Redirected to http://www.example.com/
|
518
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
519
|
-
|
520
|
-
|
521
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
522
|
-
Processing by HomeController#index as HTML
|
523
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
524
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
525
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
526
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
527
|
-
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
528
|
-
|
529
|
-
|
530
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
531
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
532
|
-
Parameters: {"utf8"=>"✓"}
|
533
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
534
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
535
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
536
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-18 23:16:50.797905', "sign_in_count" = 2, "updated_at" = '2014-03-18 23:16:50.798367' WHERE "users"."id" = 1
|
537
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
538
|
-
Redirected to http://www.example.com/
|
539
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
540
|
-
|
541
|
-
|
542
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:16:50 -0700
|
543
|
-
Processing by HomeController#index as HTML
|
544
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
545
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
546
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
547
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
548
|
-
Connecting to database specified by database.yml
|
549
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
550
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
551
|
-
Completed 401 Unauthorized in 1ms
|
552
|
-
Rendered text template (0.0ms)
|
553
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
554
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
555
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
556
|
-
Completed 401 Unauthorized in 0ms
|
557
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
558
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
559
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
560
|
-
Completed 401 Unauthorized in 0ms
|
561
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
562
|
-
Connecting to database specified by database.yml
|
563
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
564
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
565
|
-
Completed 401 Unauthorized in 2ms
|
566
|
-
Rendered text template (0.0ms)
|
567
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
568
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
569
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
570
|
-
Redirected to http://test.host/
|
571
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
572
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
573
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
574
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
575
|
-
Completed 401 Unauthorized in 0ms
|
576
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
577
|
-
Connecting to database specified by database.yml
|
578
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
579
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
580
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
581
|
-
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:17:25', '2014-03-18 23:17:25')
|
582
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:17:25', '2014-03-18 23:17:25')[0m
|
583
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
584
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
585
|
-
|
586
|
-
|
587
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
588
|
-
Processing by Devise::SessionsController#new as HTML
|
589
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.0ms)
|
590
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.2ms)
|
591
|
-
Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)
|
592
|
-
|
593
|
-
|
594
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
595
|
-
Processing by Devise::SessionsController#create as HTML
|
596
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
597
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
598
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
599
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:17:25.899234', "current_sign_in_at" = '2014-03-18 23:17:25.899234', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:17:25.899878' WHERE "users"."id" = 2
|
600
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
601
|
-
Redirected to http://www.example.com/
|
602
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
603
|
-
|
604
|
-
|
605
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
606
|
-
Processing by HomeController#index as HTML
|
607
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
608
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
609
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
610
|
-
|
611
|
-
|
612
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
613
|
-
Processing by HomeController#index as HTML
|
614
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
615
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
616
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
617
|
-
|
618
|
-
|
619
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
620
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
621
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
622
|
-
Redirected to http://www.example.com/
|
623
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
624
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
625
|
-
|
626
|
-
|
627
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
628
|
-
Processing by HomeController#index as HTML
|
629
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
630
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
631
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
632
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
633
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
634
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
635
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
636
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:17:25', '2014-03-18 23:17:25')
|
637
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:17:25', '2014-03-18 23:17:25')[0m
|
638
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
639
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
640
|
-
|
641
|
-
|
642
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
643
|
-
Processing by Devise::SessionsController#new as HTML
|
644
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
645
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms)
|
646
|
-
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
647
|
-
|
648
|
-
|
649
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:17:25 -0700
|
650
|
-
Processing by Devise::SessionsController#create as HTML
|
651
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
652
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
653
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
654
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:17:26.016416', "current_sign_in_at" = '2014-03-18 23:17:26.016416', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:17:26.016835' WHERE "users"."id" = 1
|
655
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
656
|
-
Redirected to http://www.example.com/
|
657
|
-
Completed 302 Found in 79ms (ActiveRecord: 0.0ms)
|
658
|
-
|
659
|
-
|
660
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
661
|
-
Processing by HomeController#index as HTML
|
662
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
663
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
664
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
665
|
-
|
666
|
-
|
667
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
668
|
-
Processing by HomeController#index as HTML
|
669
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
670
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
671
|
-
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
672
|
-
|
673
|
-
|
674
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
675
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
676
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
677
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
678
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
679
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.8ms)
|
680
|
-
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
681
|
-
|
682
|
-
|
683
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
684
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
685
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
686
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
687
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
688
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
689
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.5ms)
|
690
|
-
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
|
691
|
-
|
692
|
-
|
693
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
694
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
695
|
-
Parameters: {"user_id"=>"2"}
|
696
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
697
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
698
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
699
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:17:26.079401', "current_sign_in_at" = '2014-03-18 23:17:26.079401', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:17:26.079820' WHERE "users"."id" = 2[0m
|
700
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
701
|
-
Redirected to http://www.example.com/
|
702
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
703
|
-
|
704
|
-
|
705
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
706
|
-
Processing by HomeController#index as HTML
|
707
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
708
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
709
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
710
|
-
Rendered user_impersonate/_header.html.erb (1.2ms)
|
711
|
-
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
712
|
-
|
713
|
-
|
714
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
715
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
716
|
-
Parameters: {"utf8"=>"✓"}
|
717
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
718
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
719
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
720
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-18 23:17:26.093972', "sign_in_count" = 2, "updated_at" = '2014-03-18 23:17:26.094503' WHERE "users"."id" = 1
|
721
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
722
|
-
Redirected to http://www.example.com/
|
723
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
724
|
-
|
725
|
-
|
726
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:17:26 -0700
|
727
|
-
Processing by HomeController#index as HTML
|
728
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
729
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
730
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
731
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
732
|
-
Connecting to database specified by database.yml
|
733
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
734
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
735
|
-
Completed 401 Unauthorized in 1ms
|
736
|
-
Rendered text template (0.0ms)
|
737
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
738
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
739
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
740
|
-
Completed 401 Unauthorized in 0ms
|
741
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
742
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
743
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
744
|
-
Completed 401 Unauthorized in 0ms
|
745
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
746
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
748
|
-
Connecting to database specified by database.yml
|
749
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
750
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
751
|
-
Completed 401 Unauthorized in 1ms
|
752
|
-
Rendered text template (0.0ms)
|
753
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
754
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
755
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
756
|
-
Redirected to http://test.host/
|
757
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
758
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
759
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
760
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
761
|
-
Completed 401 Unauthorized in 0ms
|
762
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
763
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
764
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
765
|
-
Connecting to database specified by database.yml
|
766
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
767
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
768
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
769
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:24:41', '2014-03-18 23:24:41')
|
770
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:24:41', '2014-03-18 23:24:41')[0m
|
771
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
772
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
773
|
-
|
774
|
-
|
775
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
776
|
-
Processing by Devise::SessionsController#new as HTML
|
777
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.4ms)
|
778
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.7ms)
|
779
|
-
Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.0ms)
|
780
|
-
|
781
|
-
|
782
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
783
|
-
Processing by Devise::SessionsController#create as HTML
|
784
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
785
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
786
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
787
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:24:41.507772', "current_sign_in_at" = '2014-03-18 23:24:41.507772', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:24:41.508422' WHERE "users"."id" = 2
|
788
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
789
|
-
Redirected to http://www.example.com/
|
790
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
791
|
-
|
792
|
-
|
793
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
794
|
-
Processing by HomeController#index as HTML
|
795
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
796
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
797
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
798
|
-
|
799
|
-
|
800
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
801
|
-
Processing by HomeController#index as HTML
|
802
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
803
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
804
|
-
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
805
|
-
|
806
|
-
|
807
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
808
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
809
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
810
|
-
Redirected to http://www.example.com/
|
811
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
812
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
813
|
-
|
814
|
-
|
815
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
816
|
-
Processing by HomeController#index as HTML
|
817
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
818
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
819
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
820
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
821
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
822
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
823
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
824
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:24:41', '2014-03-18 23:24:41')
|
825
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:24:41', '2014-03-18 23:24:41')[0m
|
826
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
827
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
828
|
-
|
829
|
-
|
830
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
831
|
-
Processing by Devise::SessionsController#new as HTML
|
832
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.4ms)
|
833
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms)
|
834
|
-
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
835
|
-
|
836
|
-
|
837
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
838
|
-
Processing by Devise::SessionsController#create as HTML
|
839
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
840
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
841
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
842
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:24:41.624439', "current_sign_in_at" = '2014-03-18 23:24:41.624439', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:24:41.624968' WHERE "users"."id" = 1
|
843
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
844
|
-
Redirected to http://www.example.com/
|
845
|
-
Completed 302 Found in 79ms (ActiveRecord: 0.0ms)
|
846
|
-
|
847
|
-
|
848
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
849
|
-
Processing by HomeController#index as HTML
|
850
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
851
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
852
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
853
|
-
|
854
|
-
|
855
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
856
|
-
Processing by HomeController#index as HTML
|
857
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
858
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
859
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
860
|
-
|
861
|
-
|
862
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
863
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
864
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
865
|
-
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
866
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
867
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (5.0ms)
|
868
|
-
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.9ms)
|
869
|
-
|
870
|
-
|
871
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
872
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
873
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
874
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
875
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
876
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
877
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
878
|
-
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)
|
879
|
-
|
880
|
-
|
881
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
882
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
883
|
-
Parameters: {"user_id"=>"2"}
|
884
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
885
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
886
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
887
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:24:41.690099', "current_sign_in_at" = '2014-03-18 23:24:41.690099', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:24:41.690534' WHERE "users"."id" = 2[0m
|
888
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
889
|
-
Redirected to http://www.example.com/
|
890
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
891
|
-
|
892
|
-
|
893
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
894
|
-
Processing by HomeController#index as HTML
|
895
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
896
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
897
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
898
|
-
Rendered user_impersonate/_header.html.erb (1.4ms)
|
899
|
-
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
900
|
-
|
901
|
-
|
902
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
903
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
904
|
-
Parameters: {"utf8"=>"✓"}
|
905
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
906
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
907
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
908
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-18 23:24:41.703696', "sign_in_count" = 2, "updated_at" = '2014-03-18 23:24:41.704176' WHERE "users"."id" = 1
|
909
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
910
|
-
Redirected to http://www.example.com/
|
911
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
912
|
-
|
913
|
-
|
914
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:24:41 -0700
|
915
|
-
Processing by HomeController#index as HTML
|
916
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
917
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
918
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
919
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
920
|
-
Connecting to database specified by database.yml
|
921
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
922
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
923
|
-
Completed 401 Unauthorized in 1ms
|
924
|
-
Rendered text template (0.0ms)
|
925
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
926
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
927
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
928
|
-
Redirected to http://test.host/
|
929
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
930
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
931
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
932
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
933
|
-
Completed 401 Unauthorized in 0ms
|
934
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
935
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
936
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
937
|
-
Connecting to database specified by database.yml
|
938
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
939
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
940
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
941
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:52:44', '2014-03-18 23:52:44')
|
942
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:52:44', '2014-03-18 23:52:44')[0m
|
943
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
944
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
945
|
-
|
946
|
-
|
947
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
948
|
-
Processing by Devise::SessionsController#new as HTML
|
949
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.2ms)
|
950
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.6ms)
|
951
|
-
Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
|
952
|
-
|
953
|
-
|
954
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
955
|
-
Processing by Devise::SessionsController#create as HTML
|
956
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
957
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
958
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
959
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:52:44.699277', "current_sign_in_at" = '2014-03-18 23:52:44.699277', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:52:44.700034' WHERE "users"."id" = 2
|
960
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
961
|
-
Redirected to http://www.example.com/
|
962
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
963
|
-
|
964
|
-
|
965
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
966
|
-
Processing by HomeController#index as HTML
|
967
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
968
|
-
Rendered home/index.html.erb within layouts/application (1.5ms)
|
969
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
970
|
-
|
971
|
-
|
972
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
973
|
-
Processing by HomeController#index as HTML
|
974
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
975
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
976
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
977
|
-
|
978
|
-
|
979
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
980
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
981
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
982
|
-
Redirected to http://www.example.com/
|
983
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
984
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
985
|
-
|
986
|
-
|
987
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
988
|
-
Processing by HomeController#index as HTML
|
989
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
990
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
991
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
992
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
993
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
994
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
995
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
996
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:52:44', '2014-03-18 23:52:44')
|
997
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-18 23:52:44', '2014-03-18 23:52:44')[0m
|
998
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
999
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1000
|
-
|
1001
|
-
|
1002
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1003
|
-
Processing by Devise::SessionsController#new as HTML
|
1004
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.2ms)
|
1005
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms)
|
1006
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1007
|
-
|
1008
|
-
|
1009
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1010
|
-
Processing by Devise::SessionsController#create as HTML
|
1011
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1012
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1013
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1014
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:52:44.812688', "current_sign_in_at" = '2014-03-18 23:52:44.812688', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:52:44.813253' WHERE "users"."id" = 1
|
1015
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1016
|
-
Redirected to http://www.example.com/
|
1017
|
-
Completed 302 Found in 78ms (ActiveRecord: 0.0ms)
|
1018
|
-
|
1019
|
-
|
1020
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1021
|
-
Processing by HomeController#index as HTML
|
1022
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1023
|
-
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1024
|
-
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
1025
|
-
|
1026
|
-
|
1027
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1028
|
-
Processing by HomeController#index as HTML
|
1029
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1030
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1031
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1032
|
-
|
1033
|
-
|
1034
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1035
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1036
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1037
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1038
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1039
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (4.0ms)
|
1040
|
-
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.5ms)
|
1041
|
-
|
1042
|
-
|
1043
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1044
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1045
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1046
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1047
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1048
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1049
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
1050
|
-
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
|
1051
|
-
|
1052
|
-
|
1053
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1054
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1055
|
-
Parameters: {"user_id"=>"2"}
|
1056
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1057
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1058
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1059
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-18 23:52:44.875245', "current_sign_in_at" = '2014-03-18 23:52:44.875245', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-18 23:52:44.875642' WHERE "users"."id" = 2[0m
|
1060
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1061
|
-
Redirected to http://www.example.com/
|
1062
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1063
|
-
|
1064
|
-
|
1065
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1066
|
-
Processing by HomeController#index as HTML
|
1067
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1068
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
1069
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1070
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
1071
|
-
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
1072
|
-
|
1073
|
-
|
1074
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1075
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1076
|
-
Parameters: {"utf8"=>"✓"}
|
1077
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1078
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1079
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1080
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-18 23:52:44.888400', "sign_in_count" = 2, "updated_at" = '2014-03-18 23:52:44.888849' WHERE "users"."id" = 1
|
1081
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1082
|
-
Redirected to http://www.example.com/
|
1083
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1084
|
-
|
1085
|
-
|
1086
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 16:52:44 -0700
|
1087
|
-
Processing by HomeController#index as HTML
|
1088
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1089
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
1090
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1091
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1092
|
-
Connecting to database specified by database.yml
|
1093
|
-
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
1094
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1095
|
-
Completed 401 Unauthorized in 2ms
|
1096
|
-
Rendered text template (0.0ms)
|
1097
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1098
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1099
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1100
|
-
Redirected to http://test.host/
|
1101
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1102
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1103
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1104
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1105
|
-
Completed 401 Unauthorized in 0ms
|
1106
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1107
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1108
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1109
|
-
Connecting to database specified by database.yml
|
1110
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1111
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1112
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1113
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:27', '2014-03-19 01:34:27')
|
1114
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:27', '2014-03-19 01:34:27')[0m
|
1115
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1116
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1117
|
-
|
1118
|
-
|
1119
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1120
|
-
Processing by Devise::SessionsController#new as HTML
|
1121
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
1122
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (11.8ms)
|
1123
|
-
Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.0ms)
|
1124
|
-
|
1125
|
-
|
1126
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1127
|
-
Processing by Devise::SessionsController#create as HTML
|
1128
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1129
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1130
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1131
|
-
[1m[35m (1.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:28.184760', "current_sign_in_at" = '2014-03-19 01:34:28.184760', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:28.185595' WHERE "users"."id" = 2
|
1132
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1133
|
-
Redirected to http://www.example.com/
|
1134
|
-
Completed 302 Found in 87ms (ActiveRecord: 0.0ms)
|
1135
|
-
|
1136
|
-
|
1137
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1138
|
-
Processing by HomeController#index as HTML
|
1139
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1140
|
-
Rendered home/index.html.erb within layouts/application (1.7ms)
|
1141
|
-
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
1142
|
-
|
1143
|
-
|
1144
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1145
|
-
Processing by HomeController#index as HTML
|
1146
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1147
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
1148
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
1149
|
-
|
1150
|
-
|
1151
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1152
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1153
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1154
|
-
Redirected to http://www.example.com/
|
1155
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
1156
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
1157
|
-
|
1158
|
-
|
1159
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1160
|
-
Processing by HomeController#index as HTML
|
1161
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1162
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
1163
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1164
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1165
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1166
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1167
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1168
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:28', '2014-03-19 01:34:28')
|
1169
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:28', '2014-03-19 01:34:28')[0m
|
1170
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1171
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1172
|
-
|
1173
|
-
|
1174
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1175
|
-
Processing by Devise::SessionsController#new as HTML
|
1176
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
1177
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms)
|
1178
|
-
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
1179
|
-
|
1180
|
-
|
1181
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1182
|
-
Processing by Devise::SessionsController#create as HTML
|
1183
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1184
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1185
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1186
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:28.309667', "current_sign_in_at" = '2014-03-19 01:34:28.309667', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:28.310135' WHERE "users"."id" = 1
|
1187
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1188
|
-
Redirected to http://www.example.com/
|
1189
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
1190
|
-
|
1191
|
-
|
1192
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1193
|
-
Processing by HomeController#index as HTML
|
1194
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1195
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1196
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
1197
|
-
|
1198
|
-
|
1199
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1200
|
-
Processing by HomeController#index as HTML
|
1201
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1202
|
-
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1203
|
-
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
1204
|
-
|
1205
|
-
|
1206
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1207
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1208
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1209
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1210
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1211
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (3.1ms)
|
1212
|
-
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.4ms)
|
1213
|
-
|
1214
|
-
|
1215
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1216
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1217
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1218
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1219
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1220
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1221
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.5ms)
|
1222
|
-
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.5ms)
|
1223
|
-
|
1224
|
-
|
1225
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1226
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1227
|
-
Parameters: {"user_id"=>"2"}
|
1228
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1229
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1230
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1231
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:28.373644', "current_sign_in_at" = '2014-03-19 01:34:28.373644', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:28.374035' WHERE "users"."id" = 2[0m
|
1232
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1233
|
-
Redirected to http://www.example.com/
|
1234
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1235
|
-
|
1236
|
-
|
1237
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1238
|
-
Processing by HomeController#index as HTML
|
1239
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1240
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
1241
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1242
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
1243
|
-
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
1244
|
-
|
1245
|
-
|
1246
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1247
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1248
|
-
Parameters: {"utf8"=>"✓"}
|
1249
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1250
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1251
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1252
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:34:28.388398', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:34:28.388856' WHERE "users"."id" = 1
|
1253
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1254
|
-
Redirected to http://www.example.com/
|
1255
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1256
|
-
|
1257
|
-
|
1258
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:28 -0700
|
1259
|
-
Processing by HomeController#index as HTML
|
1260
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1261
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
1262
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1263
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1264
|
-
Connecting to database specified by database.yml
|
1265
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1266
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1267
|
-
Completed 401 Unauthorized in 1ms
|
1268
|
-
Rendered text template (0.0ms)
|
1269
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1270
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1271
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1272
|
-
Redirected to http://test.host/
|
1273
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1274
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1275
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1276
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1277
|
-
Completed 401 Unauthorized in 0ms
|
1278
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1279
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1280
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1281
|
-
Connecting to database specified by database.yml
|
1282
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1283
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1284
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1285
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:38', '2014-03-19 01:34:38')
|
1286
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:38', '2014-03-19 01:34:38')[0m
|
1287
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1288
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1289
|
-
|
1290
|
-
|
1291
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1292
|
-
Processing by Devise::SessionsController#new as HTML
|
1293
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.3ms)
|
1294
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (14.3ms)
|
1295
|
-
Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 0.0ms)
|
1296
|
-
|
1297
|
-
|
1298
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1299
|
-
Processing by Devise::SessionsController#create as HTML
|
1300
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1301
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1302
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1303
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:39.158467', "current_sign_in_at" = '2014-03-19 01:34:39.158467', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:39.159292' WHERE "users"."id" = 2
|
1304
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1305
|
-
Redirected to http://www.example.com/
|
1306
|
-
Completed 302 Found in 88ms (ActiveRecord: 0.0ms)
|
1307
|
-
|
1308
|
-
|
1309
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1310
|
-
Processing by HomeController#index as HTML
|
1311
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1312
|
-
Rendered home/index.html.erb within layouts/application (2.7ms)
|
1313
|
-
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms)
|
1314
|
-
|
1315
|
-
|
1316
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1317
|
-
Processing by HomeController#index as HTML
|
1318
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1319
|
-
Rendered home/index.html.erb within layouts/application (1.6ms)
|
1320
|
-
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms)
|
1321
|
-
|
1322
|
-
|
1323
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1324
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1325
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1326
|
-
Redirected to http://www.example.com/
|
1327
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
1328
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
1329
|
-
|
1330
|
-
|
1331
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1332
|
-
Processing by HomeController#index as HTML
|
1333
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1334
|
-
Rendered home/index.html.erb within layouts/application (1.2ms)
|
1335
|
-
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)
|
1336
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1337
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1338
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1339
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1340
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:39', '2014-03-19 01:34:39')
|
1341
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:34:39', '2014-03-19 01:34:39')[0m
|
1342
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1343
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1344
|
-
|
1345
|
-
|
1346
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1347
|
-
Processing by Devise::SessionsController#new as HTML
|
1348
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.0ms)
|
1349
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (8.2ms)
|
1350
|
-
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
1351
|
-
|
1352
|
-
|
1353
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1354
|
-
Processing by Devise::SessionsController#create as HTML
|
1355
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1356
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1357
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1358
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:39.323209', "current_sign_in_at" = '2014-03-19 01:34:39.323209', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:39.323802' WHERE "users"."id" = 1
|
1359
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1360
|
-
Redirected to http://www.example.com/
|
1361
|
-
Completed 302 Found in 84ms (ActiveRecord: 0.0ms)
|
1362
|
-
|
1363
|
-
|
1364
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1365
|
-
Processing by HomeController#index as HTML
|
1366
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1367
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1368
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1369
|
-
|
1370
|
-
|
1371
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1372
|
-
Processing by HomeController#index as HTML
|
1373
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1374
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
1375
|
-
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
1376
|
-
|
1377
|
-
|
1378
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1379
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1380
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1381
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1382
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1383
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.5ms)
|
1384
|
-
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.5ms)
|
1385
|
-
|
1386
|
-
|
1387
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1388
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1389
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1390
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1391
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1392
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1393
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
1394
|
-
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)
|
1395
|
-
|
1396
|
-
|
1397
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1398
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1399
|
-
Parameters: {"user_id"=>"2"}
|
1400
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1401
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1402
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1403
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:34:39.355470', "current_sign_in_at" = '2014-03-19 01:34:39.355470', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:34:39.355750' WHERE "users"."id" = 2[0m
|
1404
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1405
|
-
Redirected to http://www.example.com/
|
1406
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1407
|
-
|
1408
|
-
|
1409
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1410
|
-
Processing by HomeController#index as HTML
|
1411
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1412
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1413
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1414
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
1415
|
-
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
1416
|
-
|
1417
|
-
|
1418
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1419
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1420
|
-
Parameters: {"utf8"=>"✓"}
|
1421
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1422
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1423
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1424
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:34:39.370119', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:34:39.370572' WHERE "users"."id" = 1
|
1425
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1426
|
-
Redirected to http://www.example.com/
|
1427
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1428
|
-
|
1429
|
-
|
1430
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:34:39 -0700
|
1431
|
-
Processing by HomeController#index as HTML
|
1432
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1433
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1434
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
1435
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1436
|
-
Connecting to database specified by database.yml
|
1437
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1438
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1439
|
-
Completed 401 Unauthorized in 1ms
|
1440
|
-
Rendered text template (0.0ms)
|
1441
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1442
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1443
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1444
|
-
Redirected to http://test.host/
|
1445
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1446
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1447
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1448
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1449
|
-
Completed 401 Unauthorized in 0ms
|
1450
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1451
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1452
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1453
|
-
Connecting to database specified by database.yml
|
1454
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1455
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1456
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1457
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:36:58', '2014-03-19 01:36:58')
|
1458
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:36:58', '2014-03-19 01:36:58')[0m
|
1459
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1460
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1461
|
-
|
1462
|
-
|
1463
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1464
|
-
Processing by Devise::SessionsController#new as HTML
|
1465
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.0ms)
|
1466
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.2ms)
|
1467
|
-
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
|
1468
|
-
|
1469
|
-
|
1470
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1471
|
-
Processing by Devise::SessionsController#create as HTML
|
1472
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1473
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1474
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1475
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:36:59.147171', "current_sign_in_at" = '2014-03-19 01:36:59.147171', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:36:59.147833' WHERE "users"."id" = 2
|
1476
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1477
|
-
Redirected to http://www.example.com/
|
1478
|
-
Completed 302 Found in 74ms (ActiveRecord: 0.0ms)
|
1479
|
-
|
1480
|
-
|
1481
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1482
|
-
Processing by HomeController#index as HTML
|
1483
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1484
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
1485
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
1486
|
-
|
1487
|
-
|
1488
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1489
|
-
Processing by HomeController#index as HTML
|
1490
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1491
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1492
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
1493
|
-
|
1494
|
-
|
1495
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1496
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1497
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1498
|
-
Redirected to http://www.example.com/
|
1499
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
1500
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
1501
|
-
|
1502
|
-
|
1503
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1504
|
-
Processing by HomeController#index as HTML
|
1505
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1506
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1507
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1508
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1509
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1510
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1511
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1512
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:36:59', '2014-03-19 01:36:59')
|
1513
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:36:59', '2014-03-19 01:36:59')[0m
|
1514
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1515
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1516
|
-
|
1517
|
-
|
1518
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1519
|
-
Processing by Devise::SessionsController#new as HTML
|
1520
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
1521
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms)
|
1522
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1523
|
-
|
1524
|
-
|
1525
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1526
|
-
Processing by Devise::SessionsController#create as HTML
|
1527
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1528
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1529
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1530
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:36:59.257509', "current_sign_in_at" = '2014-03-19 01:36:59.257509', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:36:59.258048' WHERE "users"."id" = 1
|
1531
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1532
|
-
Redirected to http://www.example.com/
|
1533
|
-
Completed 302 Found in 76ms (ActiveRecord: 0.0ms)
|
1534
|
-
|
1535
|
-
|
1536
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1537
|
-
Processing by HomeController#index as HTML
|
1538
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1539
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1540
|
-
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
1541
|
-
|
1542
|
-
|
1543
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1544
|
-
Processing by HomeController#index as HTML
|
1545
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1546
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1547
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1548
|
-
|
1549
|
-
|
1550
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1551
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1552
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1553
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1554
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1555
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.7ms)
|
1556
|
-
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)
|
1557
|
-
|
1558
|
-
|
1559
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1560
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1561
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1562
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1563
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1564
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1565
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
1566
|
-
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
|
1567
|
-
|
1568
|
-
|
1569
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1570
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1571
|
-
Parameters: {"user_id"=>"2"}
|
1572
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1573
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1574
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1575
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:36:59.321330', "current_sign_in_at" = '2014-03-19 01:36:59.321330', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:36:59.321728' WHERE "users"."id" = 2[0m
|
1576
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1577
|
-
Redirected to http://www.example.com/
|
1578
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1579
|
-
|
1580
|
-
|
1581
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1582
|
-
Processing by HomeController#index as HTML
|
1583
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1584
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1585
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1586
|
-
Rendered user_impersonate/_header.html.erb (1.1ms)
|
1587
|
-
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
1588
|
-
|
1589
|
-
|
1590
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1591
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1592
|
-
Parameters: {"utf8"=>"✓"}
|
1593
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1594
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1595
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1596
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:36:59.334380', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:36:59.334855' WHERE "users"."id" = 1
|
1597
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1598
|
-
Redirected to http://www.example.com/
|
1599
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1600
|
-
|
1601
|
-
|
1602
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:36:59 -0700
|
1603
|
-
Processing by HomeController#index as HTML
|
1604
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1605
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
1606
|
-
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
1607
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1608
|
-
Connecting to database specified by database.yml
|
1609
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1610
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1611
|
-
Completed 401 Unauthorized in 1ms
|
1612
|
-
Rendered text template (0.0ms)
|
1613
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1614
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1615
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1616
|
-
Redirected to http://test.host/
|
1617
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1618
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1619
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1620
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1621
|
-
Completed 401 Unauthorized in 0ms
|
1622
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1623
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1624
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1625
|
-
Connecting to database specified by database.yml
|
1626
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1627
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1628
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1629
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:37:08', '2014-03-19 01:37:08')
|
1630
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:37:08', '2014-03-19 01:37:08')[0m
|
1631
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1632
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1633
|
-
|
1634
|
-
|
1635
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1636
|
-
Processing by Devise::SessionsController#new as HTML
|
1637
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
1638
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (10.9ms)
|
1639
|
-
Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms)
|
1640
|
-
|
1641
|
-
|
1642
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1643
|
-
Processing by Devise::SessionsController#create as HTML
|
1644
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1645
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1646
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1647
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:37:08.682568', "current_sign_in_at" = '2014-03-19 01:37:08.682568', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:37:08.683190' WHERE "users"."id" = 2
|
1648
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1649
|
-
Redirected to http://www.example.com/
|
1650
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
1651
|
-
|
1652
|
-
|
1653
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1654
|
-
Processing by HomeController#index as HTML
|
1655
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1656
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
1657
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
1658
|
-
|
1659
|
-
|
1660
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1661
|
-
Processing by HomeController#index as HTML
|
1662
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1663
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1664
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
1665
|
-
|
1666
|
-
|
1667
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1668
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1669
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1670
|
-
Redirected to http://www.example.com/
|
1671
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
1672
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
1673
|
-
|
1674
|
-
|
1675
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1676
|
-
Processing by HomeController#index as HTML
|
1677
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1678
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1679
|
-
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
1680
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1681
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1682
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1683
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1684
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:37:08', '2014-03-19 01:37:08')
|
1685
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:37:08', '2014-03-19 01:37:08')[0m
|
1686
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1687
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1688
|
-
|
1689
|
-
|
1690
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1691
|
-
Processing by Devise::SessionsController#new as HTML
|
1692
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.2ms)
|
1693
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms)
|
1694
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
1695
|
-
|
1696
|
-
|
1697
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1698
|
-
Processing by Devise::SessionsController#create as HTML
|
1699
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1700
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1701
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1702
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:37:08.793504', "current_sign_in_at" = '2014-03-19 01:37:08.793504', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:37:08.794005' WHERE "users"."id" = 1
|
1703
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1704
|
-
Redirected to http://www.example.com/
|
1705
|
-
Completed 302 Found in 77ms (ActiveRecord: 0.0ms)
|
1706
|
-
|
1707
|
-
|
1708
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1709
|
-
Processing by HomeController#index as HTML
|
1710
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1711
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
1712
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1713
|
-
|
1714
|
-
|
1715
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1716
|
-
Processing by HomeController#index as HTML
|
1717
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1718
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
1719
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1720
|
-
|
1721
|
-
|
1722
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1723
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1724
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1725
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1726
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1727
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.5ms)
|
1728
|
-
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)
|
1729
|
-
|
1730
|
-
|
1731
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1732
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1733
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1734
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1735
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1736
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1737
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.2ms)
|
1738
|
-
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
|
1739
|
-
|
1740
|
-
|
1741
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1742
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1743
|
-
Parameters: {"user_id"=>"2"}
|
1744
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1745
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1746
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1747
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:37:08.822673', "current_sign_in_at" = '2014-03-19 01:37:08.822673', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:37:08.822993' WHERE "users"."id" = 2[0m
|
1748
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1749
|
-
Redirected to http://www.example.com/
|
1750
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1751
|
-
|
1752
|
-
|
1753
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1754
|
-
Processing by HomeController#index as HTML
|
1755
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1756
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
1757
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1758
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
1759
|
-
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)
|
1760
|
-
|
1761
|
-
|
1762
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1763
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1764
|
-
Parameters: {"utf8"=>"✓"}
|
1765
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1766
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1767
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1768
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:37:08.835149', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:37:08.835536' WHERE "users"."id" = 1
|
1769
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1770
|
-
Redirected to http://www.example.com/
|
1771
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1772
|
-
|
1773
|
-
|
1774
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:37:08 -0700
|
1775
|
-
Processing by HomeController#index as HTML
|
1776
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1777
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
1778
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1779
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1780
|
-
Connecting to database specified by database.yml
|
1781
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1782
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1783
|
-
Completed 401 Unauthorized in 1ms
|
1784
|
-
Rendered text template (0.0ms)
|
1785
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1786
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1787
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1788
|
-
Redirected to http://test.host/
|
1789
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1790
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1791
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1792
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1793
|
-
Completed 401 Unauthorized in 0ms
|
1794
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1795
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1796
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1797
|
-
Connecting to database specified by database.yml
|
1798
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1799
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1800
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1801
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:45', '2014-03-19 01:40:45')
|
1802
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:45', '2014-03-19 01:40:45')[0m
|
1803
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1804
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1805
|
-
|
1806
|
-
|
1807
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1808
|
-
Processing by Devise::SessionsController#new as HTML
|
1809
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
1810
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (10.2ms)
|
1811
|
-
Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.0ms)
|
1812
|
-
|
1813
|
-
|
1814
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1815
|
-
Processing by Devise::SessionsController#create as HTML
|
1816
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1817
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1818
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1819
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:45.550648', "current_sign_in_at" = '2014-03-19 01:40:45.550648', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:45.551352' WHERE "users"."id" = 2
|
1820
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1821
|
-
Redirected to http://www.example.com/
|
1822
|
-
Completed 302 Found in 74ms (ActiveRecord: 0.0ms)
|
1823
|
-
|
1824
|
-
|
1825
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1826
|
-
Processing by HomeController#index as HTML
|
1827
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1828
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
1829
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
1830
|
-
|
1831
|
-
|
1832
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1833
|
-
Processing by HomeController#index as HTML
|
1834
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1835
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1836
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
1837
|
-
|
1838
|
-
|
1839
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1840
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1841
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1842
|
-
Redirected to http://www.example.com/
|
1843
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
1844
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
1845
|
-
|
1846
|
-
|
1847
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1848
|
-
Processing by HomeController#index as HTML
|
1849
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1850
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
1851
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1852
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1853
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1854
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1855
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
1856
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:45', '2014-03-19 01:40:45')
|
1857
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:45', '2014-03-19 01:40:45')[0m
|
1858
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1859
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
1860
|
-
|
1861
|
-
|
1862
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1863
|
-
Processing by Devise::SessionsController#new as HTML
|
1864
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
1865
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms)
|
1866
|
-
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
1867
|
-
|
1868
|
-
|
1869
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1870
|
-
Processing by Devise::SessionsController#create as HTML
|
1871
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1872
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
1873
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1874
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:45.659803', "current_sign_in_at" = '2014-03-19 01:40:45.659803', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:45.660319' WHERE "users"."id" = 1
|
1875
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1876
|
-
Redirected to http://www.example.com/
|
1877
|
-
Completed 302 Found in 74ms (ActiveRecord: 0.0ms)
|
1878
|
-
|
1879
|
-
|
1880
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1881
|
-
Processing by HomeController#index as HTML
|
1882
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1883
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1884
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
1885
|
-
|
1886
|
-
|
1887
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1888
|
-
Processing by HomeController#index as HTML
|
1889
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1890
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1891
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1892
|
-
|
1893
|
-
|
1894
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1895
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1896
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1897
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
1898
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
1899
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.8ms)
|
1900
|
-
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.4ms)
|
1901
|
-
|
1902
|
-
|
1903
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1904
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1905
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
1906
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1907
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
1908
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
1909
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
1910
|
-
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
|
1911
|
-
|
1912
|
-
|
1913
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1914
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1915
|
-
Parameters: {"user_id"=>"2"}
|
1916
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1917
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
1918
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1919
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:45.723564', "current_sign_in_at" = '2014-03-19 01:40:45.723564', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:45.723948' WHERE "users"."id" = 2[0m
|
1920
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1921
|
-
Redirected to http://www.example.com/
|
1922
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1923
|
-
|
1924
|
-
|
1925
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1926
|
-
Processing by HomeController#index as HTML
|
1927
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
1928
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
1929
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
1930
|
-
Rendered user_impersonate/_header.html.erb (1.1ms)
|
1931
|
-
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
1932
|
-
|
1933
|
-
|
1934
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1935
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1936
|
-
Parameters: {"utf8"=>"✓"}
|
1937
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1938
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
1939
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1940
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:40:45.736753', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:40:45.737198' WHERE "users"."id" = 1
|
1941
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1942
|
-
Redirected to http://www.example.com/
|
1943
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1944
|
-
|
1945
|
-
|
1946
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:45 -0700
|
1947
|
-
Processing by HomeController#index as HTML
|
1948
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1949
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
1950
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
1951
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1952
|
-
Connecting to database specified by database.yml
|
1953
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1954
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
1955
|
-
Completed 401 Unauthorized in 1ms
|
1956
|
-
Rendered text template (0.0ms)
|
1957
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1958
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1959
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
1960
|
-
Redirected to http://test.host/
|
1961
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1962
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1963
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1964
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
1965
|
-
Completed 401 Unauthorized in 0ms
|
1966
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1967
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1968
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1969
|
-
Connecting to database specified by database.yml
|
1970
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1971
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1972
|
-
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
1973
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:54', '2014-03-19 01:40:54')
|
1974
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:54', '2014-03-19 01:40:54')[0m
|
1975
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1976
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
1977
|
-
|
1978
|
-
|
1979
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:54 -0700
|
1980
|
-
Processing by Devise::SessionsController#new as HTML
|
1981
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.2ms)
|
1982
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (16.6ms)
|
1983
|
-
Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms)
|
1984
|
-
|
1985
|
-
|
1986
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
1987
|
-
Processing by Devise::SessionsController#create as HTML
|
1988
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
1989
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
1990
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1991
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:55.106183', "current_sign_in_at" = '2014-03-19 01:40:55.106183', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:55.106820' WHERE "users"."id" = 2
|
1992
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1993
|
-
Redirected to http://www.example.com/
|
1994
|
-
Completed 302 Found in 80ms (ActiveRecord: 0.0ms)
|
1995
|
-
|
1996
|
-
|
1997
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
1998
|
-
Processing by HomeController#index as HTML
|
1999
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2000
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2001
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2002
|
-
|
2003
|
-
|
2004
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2005
|
-
Processing by HomeController#index as HTML
|
2006
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2007
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2008
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2009
|
-
|
2010
|
-
|
2011
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2012
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2013
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2014
|
-
Redirected to http://www.example.com/
|
2015
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2016
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
2017
|
-
|
2018
|
-
|
2019
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2020
|
-
Processing by HomeController#index as HTML
|
2021
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2022
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2023
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2024
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2025
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2026
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2027
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2028
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:55', '2014-03-19 01:40:55')
|
2029
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:40:55', '2014-03-19 01:40:55')[0m
|
2030
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2031
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2032
|
-
|
2033
|
-
|
2034
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2035
|
-
Processing by Devise::SessionsController#new as HTML
|
2036
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
2037
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms)
|
2038
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
2039
|
-
|
2040
|
-
|
2041
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2042
|
-
Processing by Devise::SessionsController#create as HTML
|
2043
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2044
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2045
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2046
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:55.217094', "current_sign_in_at" = '2014-03-19 01:40:55.217094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:55.217626' WHERE "users"."id" = 1
|
2047
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2048
|
-
Redirected to http://www.example.com/
|
2049
|
-
Completed 302 Found in 77ms (ActiveRecord: 0.0ms)
|
2050
|
-
|
2051
|
-
|
2052
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2053
|
-
Processing by HomeController#index as HTML
|
2054
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2055
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
2056
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2057
|
-
|
2058
|
-
|
2059
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2060
|
-
Processing by HomeController#index as HTML
|
2061
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2062
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
2063
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2064
|
-
|
2065
|
-
|
2066
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2067
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2068
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2069
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2070
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2071
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.6ms)
|
2072
|
-
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
|
2073
|
-
|
2074
|
-
|
2075
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2076
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2077
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2078
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2079
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2080
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2081
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.1ms)
|
2082
|
-
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)
|
2083
|
-
|
2084
|
-
|
2085
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2086
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2087
|
-
Parameters: {"user_id"=>"2"}
|
2088
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2089
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2090
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2091
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:40:55.245206', "current_sign_in_at" = '2014-03-19 01:40:55.245206', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:40:55.245500' WHERE "users"."id" = 2[0m
|
2092
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2093
|
-
Redirected to http://www.example.com/
|
2094
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
2095
|
-
|
2096
|
-
|
2097
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2098
|
-
Processing by HomeController#index as HTML
|
2099
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2100
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2101
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2102
|
-
Rendered user_impersonate/_header.html.erb (1.2ms)
|
2103
|
-
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
2104
|
-
|
2105
|
-
|
2106
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2107
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2108
|
-
Parameters: {"utf8"=>"✓"}
|
2109
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2110
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2111
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2112
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:40:55.256715', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:40:55.257107' WHERE "users"."id" = 1
|
2113
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2114
|
-
Redirected to http://www.example.com/
|
2115
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
2116
|
-
|
2117
|
-
|
2118
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:40:55 -0700
|
2119
|
-
Processing by HomeController#index as HTML
|
2120
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2121
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
2122
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2123
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2124
|
-
Connecting to database specified by database.yml
|
2125
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2126
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2127
|
-
Completed 401 Unauthorized in 1ms
|
2128
|
-
Rendered text template (0.0ms)
|
2129
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2130
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2131
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2132
|
-
Redirected to http://test.host/
|
2133
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2134
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2135
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2136
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2137
|
-
Completed 401 Unauthorized in 0ms
|
2138
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2140
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2141
|
-
Connecting to database specified by database.yml
|
2142
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2143
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2144
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2145
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:29', '2014-03-19 01:55:29')
|
2146
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:29', '2014-03-19 01:55:29')[0m
|
2147
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2148
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
2149
|
-
|
2150
|
-
|
2151
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2152
|
-
Processing by Devise::SessionsController#new as HTML
|
2153
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
2154
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.4ms)
|
2155
|
-
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
2156
|
-
|
2157
|
-
|
2158
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2159
|
-
Processing by Devise::SessionsController#create as HTML
|
2160
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2161
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
2162
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2163
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:29.357923', "current_sign_in_at" = '2014-03-19 01:55:29.357923', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:29.358626' WHERE "users"."id" = 2
|
2164
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2165
|
-
Redirected to http://www.example.com/
|
2166
|
-
Completed 302 Found in 81ms (ActiveRecord: 0.0ms)
|
2167
|
-
|
2168
|
-
|
2169
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2170
|
-
Processing by HomeController#index as HTML
|
2171
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2172
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
2173
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
2174
|
-
|
2175
|
-
|
2176
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2177
|
-
Processing by HomeController#index as HTML
|
2178
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2179
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2180
|
-
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2181
|
-
|
2182
|
-
|
2183
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2184
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2185
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2186
|
-
Redirected to http://www.example.com/
|
2187
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2188
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
2189
|
-
|
2190
|
-
|
2191
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2192
|
-
Processing by HomeController#index as HTML
|
2193
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2194
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2195
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2196
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2197
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2198
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2199
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2200
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:29', '2014-03-19 01:55:29')
|
2201
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:29', '2014-03-19 01:55:29')[0m
|
2202
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2203
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2204
|
-
|
2205
|
-
|
2206
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2207
|
-
Processing by Devise::SessionsController#new as HTML
|
2208
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.2ms)
|
2209
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms)
|
2210
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
2211
|
-
|
2212
|
-
|
2213
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2214
|
-
Processing by Devise::SessionsController#create as HTML
|
2215
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2216
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2217
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2218
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:29.470669', "current_sign_in_at" = '2014-03-19 01:55:29.470669', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:29.471226' WHERE "users"."id" = 1
|
2219
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2220
|
-
Redirected to http://www.example.com/
|
2221
|
-
Completed 302 Found in 77ms (ActiveRecord: 0.0ms)
|
2222
|
-
|
2223
|
-
|
2224
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2225
|
-
Processing by HomeController#index as HTML
|
2226
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2227
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
2228
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
2229
|
-
|
2230
|
-
|
2231
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2232
|
-
Processing by HomeController#index as HTML
|
2233
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2234
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
2235
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
2236
|
-
|
2237
|
-
|
2238
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2239
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2240
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2241
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2242
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2243
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (4.0ms)
|
2244
|
-
Completed 200 OK in 36ms (Views: 7.6ms | ActiveRecord: 0.4ms)
|
2245
|
-
|
2246
|
-
|
2247
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2248
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2249
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2250
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2251
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2252
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2253
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.4ms)
|
2254
|
-
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)
|
2255
|
-
|
2256
|
-
|
2257
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2258
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2259
|
-
Parameters: {"user_id"=>"2"}
|
2260
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2261
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2262
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2263
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:29.532932', "current_sign_in_at" = '2014-03-19 01:55:29.532932', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:29.533359' WHERE "users"."id" = 2[0m
|
2264
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2265
|
-
Redirected to http://www.example.com/
|
2266
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
2267
|
-
|
2268
|
-
|
2269
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2270
|
-
Processing by HomeController#index as HTML
|
2271
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2272
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2273
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2274
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
2275
|
-
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
2276
|
-
|
2277
|
-
|
2278
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2279
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2280
|
-
Parameters: {"utf8"=>"✓"}
|
2281
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2282
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2283
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2284
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:55:29.546428', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:55:29.546912' WHERE "users"."id" = 1
|
2285
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2286
|
-
Redirected to http://www.example.com/
|
2287
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
2288
|
-
|
2289
|
-
|
2290
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:29 -0700
|
2291
|
-
Processing by HomeController#index as HTML
|
2292
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2293
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
2294
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2295
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2296
|
-
Connecting to database specified by database.yml
|
2297
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2298
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2299
|
-
Completed 401 Unauthorized in 1ms
|
2300
|
-
Rendered text template (0.0ms)
|
2301
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2302
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2303
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2304
|
-
Redirected to http://test.host/
|
2305
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2306
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2307
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2308
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2309
|
-
Completed 401 Unauthorized in 0ms
|
2310
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2311
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2312
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2313
|
-
Connecting to database specified by database.yml
|
2314
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2315
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2316
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2317
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:38', '2014-03-19 01:55:38')
|
2318
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:38', '2014-03-19 01:55:38')[0m
|
2319
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2320
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
2321
|
-
|
2322
|
-
|
2323
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:38 -0700
|
2324
|
-
Processing by Devise::SessionsController#new as HTML
|
2325
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.0ms)
|
2326
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (11.2ms)
|
2327
|
-
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
2328
|
-
|
2329
|
-
|
2330
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2331
|
-
Processing by Devise::SessionsController#create as HTML
|
2332
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2333
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
2334
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2335
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:39.095017', "current_sign_in_at" = '2014-03-19 01:55:39.095017', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:39.095647' WHERE "users"."id" = 2
|
2336
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2337
|
-
Redirected to http://www.example.com/
|
2338
|
-
Completed 302 Found in 81ms (ActiveRecord: 0.0ms)
|
2339
|
-
|
2340
|
-
|
2341
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2342
|
-
Processing by HomeController#index as HTML
|
2343
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2344
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2345
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2346
|
-
|
2347
|
-
|
2348
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2349
|
-
Processing by HomeController#index as HTML
|
2350
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2351
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2352
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2353
|
-
|
2354
|
-
|
2355
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2356
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2357
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2358
|
-
Redirected to http://www.example.com/
|
2359
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2360
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
2361
|
-
|
2362
|
-
|
2363
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2364
|
-
Processing by HomeController#index as HTML
|
2365
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2366
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2367
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2368
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2369
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2370
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2371
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2372
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:39', '2014-03-19 01:55:39')
|
2373
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:55:39', '2014-03-19 01:55:39')[0m
|
2374
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2375
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2376
|
-
|
2377
|
-
|
2378
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2379
|
-
Processing by Devise::SessionsController#new as HTML
|
2380
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
2381
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms)
|
2382
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
2383
|
-
|
2384
|
-
|
2385
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2386
|
-
Processing by Devise::SessionsController#create as HTML
|
2387
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2388
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2389
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2390
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:39.208192', "current_sign_in_at" = '2014-03-19 01:55:39.208192', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:39.208662' WHERE "users"."id" = 1
|
2391
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2392
|
-
Redirected to http://www.example.com/
|
2393
|
-
Completed 302 Found in 78ms (ActiveRecord: 0.0ms)
|
2394
|
-
|
2395
|
-
|
2396
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2397
|
-
Processing by HomeController#index as HTML
|
2398
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2399
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
2400
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2401
|
-
|
2402
|
-
|
2403
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2404
|
-
Processing by HomeController#index as HTML
|
2405
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2406
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
2407
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
2408
|
-
|
2409
|
-
|
2410
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2411
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2412
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2413
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2414
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2415
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.5ms)
|
2416
|
-
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
|
2417
|
-
|
2418
|
-
|
2419
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2420
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2421
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2422
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2423
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2424
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2425
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.2ms)
|
2426
|
-
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
|
2427
|
-
|
2428
|
-
|
2429
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2430
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2431
|
-
Parameters: {"user_id"=>"2"}
|
2432
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2433
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2434
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2435
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:55:39.236567', "current_sign_in_at" = '2014-03-19 01:55:39.236567', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:55:39.236872' WHERE "users"."id" = 2[0m
|
2436
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2437
|
-
Redirected to http://www.example.com/
|
2438
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
2439
|
-
|
2440
|
-
|
2441
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2442
|
-
Processing by HomeController#index as HTML
|
2443
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2444
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2445
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2446
|
-
Rendered user_impersonate/_header.html.erb (1.4ms)
|
2447
|
-
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
2448
|
-
|
2449
|
-
|
2450
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2451
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2452
|
-
Parameters: {"utf8"=>"✓"}
|
2453
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2454
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2455
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2456
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:55:39.251020', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:55:39.251394' WHERE "users"."id" = 1
|
2457
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2458
|
-
Redirected to http://www.example.com/
|
2459
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2460
|
-
|
2461
|
-
|
2462
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:55:39 -0700
|
2463
|
-
Processing by HomeController#index as HTML
|
2464
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2465
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
2466
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
2467
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2468
|
-
Connecting to database specified by database.yml
|
2469
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2470
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2471
|
-
Completed 401 Unauthorized in 1ms
|
2472
|
-
Rendered text template (0.0ms)
|
2473
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2474
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2475
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2476
|
-
Redirected to http://test.host/
|
2477
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2478
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2479
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2480
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2481
|
-
Completed 401 Unauthorized in 0ms
|
2482
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2483
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2484
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2485
|
-
Connecting to database specified by database.yml
|
2486
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2487
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2488
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2489
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:09', '2014-03-19 01:56:09')
|
2490
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:09', '2014-03-19 01:56:09')[0m
|
2491
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2492
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
2493
|
-
|
2494
|
-
|
2495
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2496
|
-
Processing by Devise::SessionsController#new as HTML
|
2497
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.2ms)
|
2498
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (9.8ms)
|
2499
|
-
Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms)
|
2500
|
-
|
2501
|
-
|
2502
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2503
|
-
Processing by Devise::SessionsController#create as HTML
|
2504
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2505
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
2506
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2507
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:09.733084', "current_sign_in_at" = '2014-03-19 01:56:09.733084', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:09.733954' WHERE "users"."id" = 2
|
2508
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2509
|
-
Redirected to http://www.example.com/
|
2510
|
-
Completed 302 Found in 82ms (ActiveRecord: 0.0ms)
|
2511
|
-
|
2512
|
-
|
2513
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2514
|
-
Processing by HomeController#index as HTML
|
2515
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2516
|
-
Rendered home/index.html.erb within layouts/application (1.7ms)
|
2517
|
-
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
2518
|
-
|
2519
|
-
|
2520
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2521
|
-
Processing by HomeController#index as HTML
|
2522
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2523
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
2524
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
2525
|
-
|
2526
|
-
|
2527
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2528
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2529
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2530
|
-
Redirected to http://www.example.com/
|
2531
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2532
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
2533
|
-
|
2534
|
-
|
2535
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2536
|
-
Processing by HomeController#index as HTML
|
2537
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2538
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
2539
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2540
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2541
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2542
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2543
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2544
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:09', '2014-03-19 01:56:09')
|
2545
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:09', '2014-03-19 01:56:09')[0m
|
2546
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2547
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2548
|
-
|
2549
|
-
|
2550
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2551
|
-
Processing by Devise::SessionsController#new as HTML
|
2552
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.4ms)
|
2553
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms)
|
2554
|
-
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
2555
|
-
|
2556
|
-
|
2557
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2558
|
-
Processing by Devise::SessionsController#create as HTML
|
2559
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2560
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2561
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2562
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:09.853879', "current_sign_in_at" = '2014-03-19 01:56:09.853879', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:09.854437' WHERE "users"."id" = 1
|
2563
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2564
|
-
Redirected to http://www.example.com/
|
2565
|
-
Completed 302 Found in 77ms (ActiveRecord: 0.0ms)
|
2566
|
-
|
2567
|
-
|
2568
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2569
|
-
Processing by HomeController#index as HTML
|
2570
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2571
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2572
|
-
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
2573
|
-
|
2574
|
-
|
2575
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2576
|
-
Processing by HomeController#index as HTML
|
2577
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2578
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2579
|
-
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
2580
|
-
|
2581
|
-
|
2582
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2583
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2584
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2585
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2586
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2587
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (3.1ms)
|
2588
|
-
Completed 200 OK in 39ms (Views: 6.9ms | ActiveRecord: 0.4ms)
|
2589
|
-
|
2590
|
-
|
2591
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2592
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2593
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2594
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2595
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2596
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2597
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.1ms)
|
2598
|
-
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.5ms)
|
2599
|
-
|
2600
|
-
|
2601
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2602
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2603
|
-
Parameters: {"user_id"=>"2"}
|
2604
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2605
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2606
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2607
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:09.921617', "current_sign_in_at" = '2014-03-19 01:56:09.921617', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:09.922029' WHERE "users"."id" = 2[0m
|
2608
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2609
|
-
Redirected to http://www.example.com/
|
2610
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
2611
|
-
|
2612
|
-
|
2613
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2614
|
-
Processing by HomeController#index as HTML
|
2615
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2616
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
2617
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2618
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
2619
|
-
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
2620
|
-
|
2621
|
-
|
2622
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2623
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2624
|
-
Parameters: {"utf8"=>"✓"}
|
2625
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2626
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2627
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2628
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:56:09.936253', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:56:09.936721' WHERE "users"."id" = 1
|
2629
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2630
|
-
Redirected to http://www.example.com/
|
2631
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
2632
|
-
|
2633
|
-
|
2634
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:09 -0700
|
2635
|
-
Processing by HomeController#index as HTML
|
2636
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2637
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
2638
|
-
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
2639
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2640
|
-
Connecting to database specified by database.yml
|
2641
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2642
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2643
|
-
Completed 401 Unauthorized in 1ms
|
2644
|
-
Rendered text template (0.0ms)
|
2645
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2646
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2647
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2648
|
-
Redirected to http://test.host/
|
2649
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2650
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2651
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2652
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2653
|
-
Completed 401 Unauthorized in 0ms
|
2654
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2655
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2656
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2657
|
-
Connecting to database specified by database.yml
|
2658
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2659
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2660
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2661
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:19', '2014-03-19 01:56:19')
|
2662
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:19', '2014-03-19 01:56:19')[0m
|
2663
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2664
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
2665
|
-
|
2666
|
-
|
2667
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2668
|
-
Processing by Devise::SessionsController#new as HTML
|
2669
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
2670
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (16.9ms)
|
2671
|
-
Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms)
|
2672
|
-
|
2673
|
-
|
2674
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2675
|
-
Processing by Devise::SessionsController#create as HTML
|
2676
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2677
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
2678
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2679
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:19.677615', "current_sign_in_at" = '2014-03-19 01:56:19.677615', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:19.678233' WHERE "users"."id" = 2
|
2680
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2681
|
-
Redirected to http://www.example.com/
|
2682
|
-
Completed 302 Found in 81ms (ActiveRecord: 0.0ms)
|
2683
|
-
|
2684
|
-
|
2685
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2686
|
-
Processing by HomeController#index as HTML
|
2687
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2688
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2689
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
2690
|
-
|
2691
|
-
|
2692
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2693
|
-
Processing by HomeController#index as HTML
|
2694
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2695
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2696
|
-
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
2697
|
-
|
2698
|
-
|
2699
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2700
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2701
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2702
|
-
Redirected to http://www.example.com/
|
2703
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2704
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
2705
|
-
|
2706
|
-
|
2707
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2708
|
-
Processing by HomeController#index as HTML
|
2709
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2710
|
-
Rendered home/index.html.erb within layouts/application (0.6ms)
|
2711
|
-
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
2712
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2713
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2714
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2715
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2716
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:19', '2014-03-19 01:56:19')
|
2717
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-03-19 01:56:19', '2014-03-19 01:56:19')[0m
|
2718
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2719
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2720
|
-
|
2721
|
-
|
2722
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2723
|
-
Processing by Devise::SessionsController#new as HTML
|
2724
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
2725
|
-
Rendered /home/rcook/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms)
|
2726
|
-
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
2727
|
-
|
2728
|
-
|
2729
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2730
|
-
Processing by Devise::SessionsController#create as HTML
|
2731
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2732
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2733
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2734
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:19.790002', "current_sign_in_at" = '2014-03-19 01:56:19.790002', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:19.790455' WHERE "users"."id" = 1
|
2735
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2736
|
-
Redirected to http://www.example.com/
|
2737
|
-
Completed 302 Found in 77ms (ActiveRecord: 0.0ms)
|
2738
|
-
|
2739
|
-
|
2740
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2741
|
-
Processing by HomeController#index as HTML
|
2742
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2743
|
-
Rendered home/index.html.erb within layouts/application (1.0ms)
|
2744
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2745
|
-
|
2746
|
-
|
2747
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2748
|
-
Processing by HomeController#index as HTML
|
2749
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2750
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
2751
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2752
|
-
|
2753
|
-
|
2754
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2755
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2756
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2757
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2758
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2759
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (2.5ms)
|
2760
|
-
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms)
|
2761
|
-
|
2762
|
-
|
2763
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2764
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2765
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2766
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2767
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2768
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2769
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.2ms)
|
2770
|
-
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)
|
2771
|
-
|
2772
|
-
|
2773
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2774
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2775
|
-
Parameters: {"user_id"=>"2"}
|
2776
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2777
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2778
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2779
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-03-19 01:56:19.817838', "current_sign_in_at" = '2014-03-19 01:56:19.817838', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-03-19 01:56:19.818143' WHERE "users"."id" = 2[0m
|
2780
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2781
|
-
Redirected to http://www.example.com/
|
2782
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
2783
|
-
|
2784
|
-
|
2785
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2786
|
-
Processing by HomeController#index as HTML
|
2787
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2788
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
2789
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2790
|
-
Rendered user_impersonate/_header.html.erb (1.3ms)
|
2791
|
-
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
2792
|
-
|
2793
|
-
|
2794
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2795
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2796
|
-
Parameters: {"utf8"=>"✓"}
|
2797
|
-
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2798
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2799
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2800
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-03-19 01:56:19.830687', "sign_in_count" = 2, "updated_at" = '2014-03-19 01:56:19.831020' WHERE "users"."id" = 1
|
2801
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2802
|
-
Redirected to http://www.example.com/
|
2803
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
2804
|
-
|
2805
|
-
|
2806
|
-
Started GET "/" for 127.0.0.1 at 2014-03-18 18:56:19 -0700
|
2807
|
-
Processing by HomeController#index as HTML
|
2808
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2809
|
-
Rendered home/index.html.erb within layouts/application (1.1ms)
|
2810
|
-
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
2811
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2812
|
-
Connecting to database specified by database.yml
|
2813
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2814
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2815
|
-
Redirected to
|
2816
|
-
Redirected to http://test.host/
|
2817
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2818
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2819
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2820
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2821
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2822
|
-
Redirected to
|
2823
|
-
Redirected to http://test.host/
|
2824
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2825
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2826
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2827
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2828
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2829
|
-
Completed 401 Unauthorized in 2ms
|
2830
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2831
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2832
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2833
|
-
Redirected to http://test.host/
|
2834
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2835
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2836
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2837
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2838
|
-
Completed 401 Unauthorized in 0ms
|
2839
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2840
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2841
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2842
|
-
Connecting to database specified by database.yml
|
2843
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
2844
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2845
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2846
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:14', '2014-04-09 05:45:14')
|
2847
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:14', '2014-04-09 05:45:14')[0m
|
2848
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2849
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
2850
|
-
|
2851
|
-
|
2852
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2853
|
-
Processing by Devise::SessionsController#new as HTML
|
2854
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.1ms)
|
2855
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (39.3ms)
|
2856
|
-
Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.0ms)
|
2857
|
-
|
2858
|
-
|
2859
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2860
|
-
Processing by Devise::SessionsController#create as HTML
|
2861
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2862
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
2863
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2864
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:14.220462', "current_sign_in_at" = '2014-04-09 05:45:14.220462', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:14.221085' WHERE "users"."id" = 2
|
2865
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2866
|
-
Redirected to http://www.example.com/
|
2867
|
-
Completed 302 Found in 75ms (ActiveRecord: 0.0ms)
|
2868
|
-
|
2869
|
-
|
2870
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2871
|
-
Processing by HomeController#index as HTML
|
2872
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2873
|
-
Rendered home/index.html.erb within layouts/application (1.4ms)
|
2874
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
2875
|
-
|
2876
|
-
|
2877
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2878
|
-
Processing by HomeController#index as HTML
|
2879
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2880
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2881
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2882
|
-
|
2883
|
-
|
2884
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2885
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2886
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2887
|
-
Redirected to http://www.example.com/
|
2888
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
2889
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
2890
|
-
|
2891
|
-
|
2892
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2893
|
-
Processing by HomeController#index as HTML
|
2894
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2895
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
2896
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
2897
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
2898
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2899
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2900
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
2901
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:14', '2014-04-09 05:45:14')
|
2902
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:14', '2014-04-09 05:45:14')[0m
|
2903
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2904
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
2905
|
-
|
2906
|
-
|
2907
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2908
|
-
Processing by Devise::SessionsController#new as HTML
|
2909
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
2910
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms)
|
2911
|
-
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
2912
|
-
|
2913
|
-
|
2914
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2915
|
-
Processing by Devise::SessionsController#create as HTML
|
2916
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
2917
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
2918
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2919
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:14.336773', "current_sign_in_at" = '2014-04-09 05:45:14.336773', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:14.337264' WHERE "users"."id" = 1
|
2920
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2921
|
-
Redirected to http://www.example.com/
|
2922
|
-
Completed 302 Found in 74ms (ActiveRecord: 0.0ms)
|
2923
|
-
|
2924
|
-
|
2925
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2926
|
-
Processing by HomeController#index as HTML
|
2927
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2928
|
-
Rendered home/index.html.erb within layouts/application (30.1ms)
|
2929
|
-
Completed 200 OK in 31ms (Views: 31.1ms | ActiveRecord: 0.1ms)
|
2930
|
-
|
2931
|
-
|
2932
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2933
|
-
Processing by HomeController#index as HTML
|
2934
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2935
|
-
Rendered home/index.html.erb within layouts/application (1.3ms)
|
2936
|
-
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
2937
|
-
|
2938
|
-
|
2939
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2940
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2941
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2942
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
2943
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
2944
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (3.0ms)
|
2945
|
-
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
2946
|
-
|
2947
|
-
|
2948
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2949
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
2950
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
2951
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2952
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
2953
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
2954
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.3ms)
|
2955
|
-
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
|
2956
|
-
|
2957
|
-
|
2958
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2959
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
2960
|
-
Parameters: {"user_id"=>"2"}
|
2961
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2962
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
2963
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2964
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:14.401689', "current_sign_in_at" = '2014-04-09 05:45:14.401689', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:14.402128' WHERE "users"."id" = 2[0m
|
2965
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2966
|
-
Redirected to http://www.example.com/
|
2967
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2968
|
-
|
2969
|
-
|
2970
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2971
|
-
Processing by HomeController#index as HTML
|
2972
|
-
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
2973
|
-
Rendered home/index.html.erb within layouts/application (1.6ms)
|
2974
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
2975
|
-
Rendered user_impersonate/_header.html.erb (1.2ms)
|
2976
|
-
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.7ms)
|
2977
|
-
|
2978
|
-
|
2979
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2980
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
2981
|
-
Parameters: {"utf8"=>"✓"}
|
2982
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2983
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
2984
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2985
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-04-09 05:45:14.419554', "sign_in_count" = 2, "updated_at" = '2014-04-09 05:45:14.420125' WHERE "users"."id" = 1
|
2986
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2987
|
-
Redirected to http://www.example.com/
|
2988
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
2989
|
-
|
2990
|
-
|
2991
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:14 -0700
|
2992
|
-
Processing by HomeController#index as HTML
|
2993
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2994
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
2995
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
2996
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2997
|
-
Connecting to database specified by database.yml
|
2998
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2999
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3000
|
-
Redirected to
|
3001
|
-
Redirected to http://test.host/
|
3002
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
3003
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3004
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3005
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3006
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3007
|
-
Redirected to
|
3008
|
-
Redirected to http://test.host/
|
3009
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
3010
|
-
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3011
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
3012
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3013
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
3014
|
-
Completed 401 Unauthorized in 1ms
|
3015
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3016
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3017
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
3018
|
-
Redirected to http://test.host/
|
3019
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3020
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3021
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3022
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3023
|
-
Completed 401 Unauthorized in 0ms
|
3024
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3025
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3026
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3027
|
-
Connecting to database specified by database.yml
|
3028
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3029
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3030
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
3031
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:23', '2014-04-09 05:45:23')
|
3032
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:23', '2014-04-09 05:45:23')[0m
|
3033
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3034
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Normal User' LIMIT 1[0m
|
3035
|
-
|
3036
|
-
|
3037
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3038
|
-
Processing by Devise::SessionsController#new as HTML
|
3039
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (1.2ms)
|
3040
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (36.7ms)
|
3041
|
-
Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms)
|
3042
|
-
|
3043
|
-
|
3044
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3045
|
-
Processing by Devise::SessionsController#create as HTML
|
3046
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"normaluser@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
3047
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'normaluser@gmail.com' LIMIT 1
|
3048
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3049
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:23.650278', "current_sign_in_at" = '2014-04-09 05:45:23.650278', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:23.650974' WHERE "users"."id" = 2
|
3050
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3051
|
-
Redirected to http://www.example.com/
|
3052
|
-
Completed 302 Found in 81ms (ActiveRecord: 0.0ms)
|
3053
|
-
|
3054
|
-
|
3055
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3056
|
-
Processing by HomeController#index as HTML
|
3057
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
3058
|
-
Rendered home/index.html.erb within layouts/application (1.5ms)
|
3059
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
3060
|
-
|
3061
|
-
|
3062
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3063
|
-
Processing by HomeController#index as HTML
|
3064
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
3065
|
-
Rendered home/index.html.erb within layouts/application (0.8ms)
|
3066
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
3067
|
-
|
3068
|
-
|
3069
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3070
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3071
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
3072
|
-
Redirected to http://www.example.com/
|
3073
|
-
Filter chain halted as :current_user_must_be_staff! rendered or redirected
|
3074
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
3075
|
-
|
3076
|
-
|
3077
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3078
|
-
Processing by HomeController#index as HTML
|
3079
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
3080
|
-
Rendered home/index.html.erb within layouts/application (0.7ms)
|
3081
|
-
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
3082
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3083
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3084
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3085
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
3086
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("id", "name", "email", "staff", "encrypted_password", "created_at", "updated_at") VALUES (1, 'Dr Nic Williams', 'drnicwilliams@gmail.com', 't', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:23', '2014-04-09 05:45:23')
|
3087
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("id", "name", "email", "encrypted_password", "created_at", "updated_at") VALUES (2, 'Normal User', 'normaluser@gmail.com', '$2a$10$HV6E2Hgk2z6hqow76r6IL.5gcnqCSqJYuOuOT.nbqdPffBLvwglzK', '2014-04-09 05:45:23', '2014-04-09 05:45:23')[0m
|
3088
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3089
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'Dr Nic Williams' LIMIT 1[0m
|
3090
|
-
|
3091
|
-
|
3092
|
-
Started GET "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3093
|
-
Processing by Devise::SessionsController#new as HTML
|
3094
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.3ms)
|
3095
|
-
Rendered /home/rcook/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/devise-2.1.2/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms)
|
3096
|
-
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
3097
|
-
|
3098
|
-
|
3099
|
-
Started POST "/users/sign_in" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3100
|
-
Processing by Devise::SessionsController#create as HTML
|
3101
|
-
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"drnicwilliams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
|
3102
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'drnicwilliams@gmail.com' LIMIT 1
|
3103
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3104
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:23.771116', "current_sign_in_at" = '2014-04-09 05:45:23.771116', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:23.771655' WHERE "users"."id" = 1
|
3105
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3106
|
-
Redirected to http://www.example.com/
|
3107
|
-
Completed 302 Found in 83ms (ActiveRecord: 0.0ms)
|
3108
|
-
|
3109
|
-
|
3110
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3111
|
-
Processing by HomeController#index as HTML
|
3112
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3113
|
-
Rendered home/index.html.erb within layouts/application (28.8ms)
|
3114
|
-
Completed 200 OK in 30ms (Views: 29.8ms | ActiveRecord: 0.1ms)
|
3115
|
-
|
3116
|
-
|
3117
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3118
|
-
Processing by HomeController#index as HTML
|
3119
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3120
|
-
Rendered home/index.html.erb within layouts/application (1.5ms)
|
3121
|
-
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.2ms)
|
3122
|
-
|
3123
|
-
|
3124
|
-
Started GET "/impersonate" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3125
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3126
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3127
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1))[0m
|
3128
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) ORDER BY updated_at DESC
|
3129
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (3.0ms)
|
3130
|
-
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
3131
|
-
|
3132
|
-
|
3133
|
-
Started GET "/impersonate/?utf8=%E2%9C%93&search=Normal+User" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3134
|
-
Processing by UserImpersonate::ImpersonateController#index as HTML
|
3135
|
-
Parameters: {"utf8"=>"✓", "search"=>"Normal User"}
|
3136
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3137
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%')
|
3138
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (1)) AND (name like '%Normal User%') ORDER BY updated_at DESC[0m
|
3139
|
-
Rendered /home/rcook/src/user_impersonate2/app/views/user_impersonate/impersonate/index.html.erb within layouts/user_impersonate/application (1.5ms)
|
3140
|
-
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)
|
3141
|
-
|
3142
|
-
|
3143
|
-
Started GET "/impersonate/user/2" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3144
|
-
Processing by UserImpersonate::ImpersonateController#create as HTML
|
3145
|
-
Parameters: {"user_id"=>"2"}
|
3146
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3147
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
3148
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3149
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2014-04-09 05:45:23.832284', "current_sign_in_at" = '2014-04-09 05:45:23.832284', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2014-04-09 05:45:23.832668' WHERE "users"."id" = 2[0m
|
3150
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3151
|
-
Redirected to http://www.example.com/
|
3152
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
3153
|
-
|
3154
|
-
|
3155
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3156
|
-
Processing by HomeController#index as HTML
|
3157
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
|
3158
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
3159
|
-
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
3160
|
-
Rendered user_impersonate/_header.html.erb (1.5ms)
|
3161
|
-
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)
|
3162
|
-
|
3163
|
-
|
3164
|
-
Started DELETE "/impersonate/revert" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3165
|
-
Processing by UserImpersonate::ImpersonateController#destroy as HTML
|
3166
|
-
Parameters: {"utf8"=>"✓"}
|
3167
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
3168
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
|
3169
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3170
|
-
[1m[35m (0.1ms)[0m UPDATE "users" SET "current_sign_in_at" = '2014-04-09 05:45:23.851432', "sign_in_count" = 2, "updated_at" = '2014-04-09 05:45:23.851926' WHERE "users"."id" = 1
|
3171
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3172
|
-
Redirected to http://www.example.com/
|
3173
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
3174
|
-
|
3175
|
-
|
3176
|
-
Started GET "/" for 127.0.0.1 at 2014-04-08 22:45:23 -0700
|
3177
|
-
Processing by HomeController#index as HTML
|
3178
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3179
|
-
Rendered home/index.html.erb within layouts/application (0.9ms)
|
3180
|
-
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
3181
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|