my_forum 0.0.1.beta32 → 0.0.1.beta33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/my_forum/attachments_controller.rb +1 -1
- data/app/controllers/my_forum/posts_controller.rb +2 -2
- data/app/controllers/my_forum/topics_controller.rb +1 -1
- data/app/controllers/my_forum/users_controller.rb +1 -1
- data/app/helpers/my_forum/posts_helper.rb +2 -1
- data/app/models/my_forum/attachment.rb +2 -1
- data/app/models/my_forum/avatar.rb +2 -1
- data/app/views/my_forum/private_messages/show.haml +1 -1
- data/app/views/my_forum/topics/_profile_popover.haml +13 -13
- data/app/views/my_forum/topics/show.haml +2 -7
- data/config/locales/ru.yml +1 -0
- data/lib/my_forum/engine.rb +2 -2
- data/lib/my_forum/version.rb +1 -1
- data/spec/dummy/db/schema.rb +43 -22
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +3290 -0
- data/spec/dummy/test.db +0 -0
- data/spec/helpers/my_forum/posts_helper_spec.rb +24 -0
- metadata +6 -2
data/spec/dummy/log/test.log
CHANGED
@@ -217,3 +217,3293 @@ Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
|
|
217
217
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "ef806c1a30e8af9c7802b9bd803b3b6e1aae1fe847a1dcfd46eec171b581ae7b"], ["salt", "320528c90278e2667c17d852c6755701198e98abb4d9d6d9cb6df61aa87a7016"], ["created_at", "2015-11-13 12:23:23.479063"], ["updated_at", "2015-11-13 12:23:23.479063"]]
|
218
218
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
219
219
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
220
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
221
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "my_forum_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
222
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "my_forum_category_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
223
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "my_forum_forums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar, "description" varchar, "topics_count" integer, "posts_count" integer, "created_at" datetime, "updated_at" datetime) [0m
|
224
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "my_forum_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "post_id" integer, "file_name" varchar, "file_size" integer, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
225
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "my_forum_log_read_marks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "topic_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
226
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "my_forum_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "topic_id" integer, "forum_id" integer, "text" text, "created_at" datetime, "updated_at" datetime)
|
227
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "my_forum_private_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "recipient_id" integer, "sender_deleted" boolean DEFAULT 'f', "recipient_deleted" boolean DEFAULT 'f', "unread" boolean DEFAULT 't', "subject" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
228
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "my_forum_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "color" varchar, "rights" text, "created_at" datetime, "updated_at" datetime)
|
229
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "my_forum_topics" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forum_id" integer, "user_id" integer, "latest_post_id" integer, "name" varchar, "description" varchar, "views" integer, "posts_count" integer DEFAULT 0, "pinned" boolean DEFAULT 'f', "closed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime) [0m
|
230
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "my_forum_user_group_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "created_at" datetime, "updated_at" datetime)
|
231
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "my_forum_user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "html_color" varchar, "default" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime) [0m
|
232
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "my_forum_user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)
|
233
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "my_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "email" varchar, "posts_count" integer, "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime, "last_logged_in" datetime) [0m
|
234
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
235
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
236
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
237
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
238
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151012095554')
|
239
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
240
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
241
|
+
Migrating to CreateMyForumForums (20141117122725)
|
242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
243
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "my_forum_forums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar, "description" varchar, "topics_count" integer, "posts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
244
|
+
SQLite3::SQLException: table "my_forum_forums" already exists: CREATE TABLE "my_forum_forums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar, "description" varchar, "topics_count" integer, "posts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
245
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
246
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
247
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
248
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
249
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
250
|
+
Migrating to CreateMyForumForums (20141117122725)
|
251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "my_forum_forums" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar, "description" varchar, "topics_count" integer, "posts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
253
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141117122725"]]
|
254
|
+
[1m[35m (0.7ms)[0m commit transaction
|
255
|
+
Migrating to CreateMyForumTopics (20141117122742)
|
256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
257
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "my_forum_topics" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forum_id" integer, "user_id" integer, "latest_post_id" integer, "name" varchar, "description" varchar, "views" integer, "posts_count" integer DEFAULT 0, "pinned" boolean DEFAULT 'f', "closed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
258
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141117122742"]]
|
259
|
+
[1m[35m (0.7ms)[0m commit transaction
|
260
|
+
Migrating to CreateMyForumPosts (20141117122751)
|
261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "my_forum_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "topic_id" integer, "forum_id" integer, "text" text(4294967295), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
263
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141117122751"]]
|
264
|
+
[1m[35m (0.5ms)[0m commit transaction
|
265
|
+
Migrating to CreateMyForumCategories (20141118081021)
|
266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
267
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "my_forum_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141118081021"]]
|
269
|
+
[1m[35m (0.7ms)[0m commit transaction
|
270
|
+
Migrating to CreateMyForumUsers (20141118131215)
|
271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
272
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "my_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "real_name" varchar, "gender" integer, "birthdate" date, "signature" text, "avatar" varchar, "location" varchar, "user_ip" varchar, "additional_info" text, "email" varchar, "posts_count" integer, "activated" boolean DEFAULT 'f', "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "last_logged_in" datetime)
|
273
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'admin' LIMIT 1[0m
|
274
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'admin@example.com' LIMIT 1
|
275
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "is_admin", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["login", "admin"], ["password", "2caca2117da4cd17060c51617ba5d0bd53c2d68b39cbf2aaf0bfb5ea06935959"], ["is_admin", "t"], ["email", "admin@example.com"], ["salt", "8be153734c156752161df5bf02e1bafe75e8034951935e7c9bbcfc4c00eef961"], ["created_at", "2015-12-22 14:44:51.980629"], ["updated_at", "2015-12-22 14:44:51.980629"]]
|
276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141118131215"]]
|
277
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
278
|
+
Migrating to CreateMyForumRoles (20141222094522)
|
279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
280
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "color" varchar, "rights" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
281
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222094522"]]
|
282
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
283
|
+
Migrating to CreateMyForumUserRoles (20141222094538)
|
284
|
+
[1m[35m (0.0ms)[0m begin transaction
|
285
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
286
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222094538"]]
|
287
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
288
|
+
Migrating to CreateMyForumLogReadMarks (20150202115250)
|
289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
290
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_log_read_marks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "topic_id" integer, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
291
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150202115250"]]
|
292
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
293
|
+
Migrating to CreateMyForumUserGroups (20150215200453)
|
294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "html_color" varchar, "default" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
296
|
+
[1m[35mMyForum::UserGroup Load (0.1ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
|
297
|
+
[1m[36mMyForum::UserGroup Load (0.0ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Member"]]
|
298
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "my_forum_user_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Guests"], ["created_at", "2015-12-22 14:44:51.998230"], ["updated_at", "2015-12-22 14:44:51.998230"]]
|
299
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_groups" ("name", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Member"], ["default", "t"], ["created_at", "2015-12-22 14:44:51.999333"], ["updated_at", "2015-12-22 14:44:51.999333"]]
|
300
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "my_forum_user_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Moderator"], ["created_at", "2015-12-22 14:44:52.000260"], ["updated_at", "2015-12-22 14:44:52.000260"]]
|
301
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "my_forum_user_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Admin"], ["created_at", "2015-12-22 14:44:52.001058"], ["updated_at", "2015-12-22 14:44:52.001058"]]
|
302
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215200453"]]
|
303
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
304
|
+
Migrating to CreateMyForumUserGroupLinks (20150215204852)
|
305
|
+
[1m[35m (0.0ms)[0m begin transaction
|
306
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "my_forum_user_group_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
307
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215204852"]]
|
308
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
309
|
+
Migrating to CreateMyForumCategoryPermissions (20150215212443)
|
310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
311
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "my_forum_category_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
312
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215212443"]]
|
313
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
314
|
+
Migrating to CreateMyForumPrivateMessages (20150227210814)
|
315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
316
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_private_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "sender_login" varchar, "recipient_id" integer, "recipient_login" varchar, "sender_deleted" boolean DEFAULT 'f', "recipient_deleted" boolean DEFAULT 'f', "unread" boolean DEFAULT 't', "subject" varchar, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227210814"]]
|
318
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
319
|
+
Migrating to CreateMyForumImages (20151012095554)
|
320
|
+
[1m[35m (0.0ms)[0m begin transaction
|
321
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "my_forum_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "post_id" integer, "file_name" varchar, "file_size" integer, "type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
322
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012095554"]]
|
323
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
324
|
+
Migrating to AddIsDeleted (20151218135729)
|
325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
326
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "my_forum_posts" ADD "is_deleted" boolean DEFAULT 'f'[0m
|
327
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "my_forum_topics" ADD "is_deleted" boolean DEFAULT 'f'
|
328
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151218135729"]]
|
329
|
+
[1m[35m (0.6ms)[0m commit transaction
|
330
|
+
Migrating to CreateMyForumEmoticons (20151220121140)
|
331
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
332
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "my_forum_emoticons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_name" varchar, "code" varchar, "is_active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
333
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151220121140"]]
|
334
|
+
[1m[35m (0.6ms)[0m commit transaction
|
335
|
+
Migrating to MyForumRenameUserAvatar (20151221203243)
|
336
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
337
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "amy_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "real_name" varchar, "gender" integer, "birthdate" date, "signature" text, "avatar_url" varchar, "location" varchar, "user_ip" varchar, "additional_info" text, "email" varchar, "posts_count" integer, "activated" boolean DEFAULT 'f', "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "last_logged_in" datetime)
|
338
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "my_forum_users"[0m
|
339
|
+
[1m[35m (0.1ms)[0m INSERT INTO "amy_forum_users" ("id","login","password","salt","real_name","gender","birthdate","signature","avatar_url","location","user_ip","additional_info","email","posts_count","activated","is_admin","is_moderator","is_deleted","permanently_banned","created_at","updated_at","last_logged_in") VALUES (1, 'admin', '2caca2117da4cd17060c51617ba5d0bd53c2d68b39cbf2aaf0bfb5ea06935959', '8be153734c156752161df5bf02e1bafe75e8034951935e7c9bbcfc4c00eef961', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin@example.com', NULL, 'f', 't', 'f', 'f', 'f', '2015-12-22 14:44:51.980629', '2015-12-22 14:44:51.980629', NULL)
|
340
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "my_forum_users"[0m
|
341
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "my_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "real_name" varchar, "gender" integer, "birthdate" date, "signature" text, "avatar_url" varchar, "location" varchar, "user_ip" varchar, "additional_info" text, "email" varchar, "posts_count" integer, "activated" boolean DEFAULT 'f', "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "last_logged_in" datetime)
|
342
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "amy_forum_users"[0m
|
343
|
+
[1m[35m (0.0ms)[0m INSERT INTO "my_forum_users" ("id","login","password","salt","real_name","gender","birthdate","signature","avatar_url","location","user_ip","additional_info","email","posts_count","activated","is_admin","is_moderator","is_deleted","permanently_banned","created_at","updated_at","last_logged_in") VALUES (1, 'admin', '2caca2117da4cd17060c51617ba5d0bd53c2d68b39cbf2aaf0bfb5ea06935959', '8be153734c156752161df5bf02e1bafe75e8034951935e7c9bbcfc4c00eef961', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin@example.com', NULL, 'f', 't', 'f', 'f', 'f', '2015-12-22 14:44:51.980629', '2015-12-22 14:44:51.980629', NULL)
|
344
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "amy_forum_users"[0m
|
345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151221203243"]]
|
346
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
347
|
+
Migrating to MyForumChangeUserAvatar (20151221205045)
|
348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
349
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "amy_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "real_name" varchar, "gender" integer, "birthdate" date, "signature" text, "avatar_url" varchar, "location" varchar, "user_ip" varchar, "additional_info" text, "email" varchar, "posts_count" integer, "activated" boolean DEFAULT 'f', "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "last_logged_in" datetime) [0m
|
350
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "my_forum_users"
|
351
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "amy_forum_users" ("id","login","password","salt","real_name","gender","birthdate","signature","avatar_url","location","user_ip","additional_info","email","posts_count","activated","is_admin","is_moderator","is_deleted","permanently_banned","created_at","updated_at","last_logged_in") VALUES (1, 'admin', '2caca2117da4cd17060c51617ba5d0bd53c2d68b39cbf2aaf0bfb5ea06935959', '8be153734c156752161df5bf02e1bafe75e8034951935e7c9bbcfc4c00eef961', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin@example.com', NULL, 'f', 't', 'f', 'f', 'f', '2015-12-22 14:44:51.980629', '2015-12-22 14:44:51.980629', NULL)[0m
|
352
|
+
[1m[35m (0.2ms)[0m DROP TABLE "my_forum_users"
|
353
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "my_forum_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar, "password" varchar, "salt" varchar, "real_name" varchar, "gender" integer, "birthdate" date, "signature" text, "avatar_url" text, "location" varchar, "user_ip" varchar, "additional_info" text, "email" varchar, "posts_count" integer, "activated" boolean DEFAULT 'f', "is_admin" boolean DEFAULT 'f', "is_moderator" boolean DEFAULT 'f', "is_deleted" boolean DEFAULT 'f', "permanently_banned" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "last_logged_in" datetime) [0m
|
354
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "amy_forum_users"
|
355
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("id","login","password","salt","real_name","gender","birthdate","signature","avatar_url","location","user_ip","additional_info","email","posts_count","activated","is_admin","is_moderator","is_deleted","permanently_banned","created_at","updated_at","last_logged_in") VALUES (1, 'admin', '2caca2117da4cd17060c51617ba5d0bd53c2d68b39cbf2aaf0bfb5ea06935959', '8be153734c156752161df5bf02e1bafe75e8034951935e7c9bbcfc4c00eef961', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin@example.com', NULL, 'f', 't', 'f', 'f', 'f', '2015-12-22 14:44:51.980629', '2015-12-22 14:44:51.980629', NULL)[0m
|
356
|
+
[1m[35m (0.1ms)[0m DROP TABLE "amy_forum_users"
|
357
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151221205045"]]
|
358
|
+
[1m[35m (0.7ms)[0m commit transaction
|
359
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
360
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
361
|
+
[1m[35m (0.1ms)[0m begin transaction
|
362
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
363
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
364
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
365
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "4a623f9184864ca232e48dfd886d9991cc270ef7f3e9d9af31bea5d3d87f22f5"], ["email", "demo@example.com"], ["salt", "32fd337e342664cfc41ba8ecf33949e4b8b93539dce3e47c0996d4a0e27dce70"], ["created_at", "2015-12-22 14:44:58.790893"], ["updated_at", "2015-12-22 14:44:58.790893"]]
|
366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
367
|
+
Processing by MyForum::UsersController#signin as HTML
|
368
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
369
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
370
|
+
Redirected to http://test.host/my_forum/
|
371
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
372
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
374
|
+
Processing by MyForum::UsersController#signin as HTML
|
375
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
376
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
377
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
378
|
+
Completed 200 OK in 22ms (Views: 12.0ms | ActiveRecord: 0.1ms)
|
379
|
+
Processing by MyForum::UsersController#signin as HTML
|
380
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
381
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
382
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
383
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
384
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
387
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
388
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
389
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "4a623f9184864ca232e48dfd886d9991cc270ef7f3e9d9af31bea5d3d87f22f5"], ["email", "demo@example.com"], ["salt", "32fd337e342664cfc41ba8ecf33949e4b8b93539dce3e47c0996d4a0e27dce70"], ["created_at", "2015-12-22 14:44:58.844820"], ["updated_at", "2015-12-22 14:44:58.844820"]]
|
390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
391
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
392
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
393
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
394
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
395
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
396
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
397
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
398
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
399
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
400
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:58.878001' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
402
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
404
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
405
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
406
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "d5e0be18c7762b150f5b2729047fe78bfe3d7ab217484bd97ea6d28d734f0629"], ["salt", "8c56e8028cb36c0a406b1b303a36889e476710fae66c392897a07e8c24c4550d"], ["updated_at", "2015-12-22 14:44:58.892941"], ["id", 2]]
|
407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
408
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.8ms)
|
409
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.9ms)
|
410
|
+
|
411
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 147.1ms
|
412
|
+
|
413
|
+
Sent mail to demo@example.com (6.2ms)
|
414
|
+
Date: Tue, 22 Dec 2015 16:44:59 +0200
|
415
|
+
From: from@example.com
|
416
|
+
To: demo@example.com
|
417
|
+
Message-ID: <567961eb9b2b_62fc3ff96485e204928c5@Vitalys-MacBook-Pro.local.mail>
|
418
|
+
Subject: vaz.od.ua - New password
|
419
|
+
Mime-Version: 1.0
|
420
|
+
Content-Type: multipart/alternative;
|
421
|
+
boundary="--==_mimepart_567961eb8adb_62fc3ff96485e204927e2";
|
422
|
+
charset=UTF-8
|
423
|
+
Content-Transfer-Encoding: 7bit
|
424
|
+
|
425
|
+
|
426
|
+
----==_mimepart_567961eb8adb_62fc3ff96485e204927e2
|
427
|
+
Content-Type: text/plain;
|
428
|
+
charset=UTF-8
|
429
|
+
Content-Transfer-Encoding: 7bit
|
430
|
+
|
431
|
+
Your new password is: CspcZkROqf
|
432
|
+
|
433
|
+
----==_mimepart_567961eb8adb_62fc3ff96485e204927e2
|
434
|
+
Content-Type: text/html;
|
435
|
+
charset=UTF-8
|
436
|
+
Content-Transfer-Encoding: 7bit
|
437
|
+
|
438
|
+
<html>
|
439
|
+
<body>
|
440
|
+
Your new password is: CspcZkROqf
|
441
|
+
|
442
|
+
</body>
|
443
|
+
</html>
|
444
|
+
|
445
|
+
----==_mimepart_567961eb8adb_62fc3ff96485e204927e2--
|
446
|
+
|
447
|
+
Redirected to http://test.host/my_forum/
|
448
|
+
Completed 302 Found in 195ms (ActiveRecord: 1.4ms)
|
449
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
450
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
451
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
453
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
454
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
455
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
456
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "570955e0439902ce08cdcbbfd766d7f22fb242927646e0280c61d95c7eda78b3"], ["email", "demo@example.com"], ["salt", "66f09b558f1c235695e5210827bf7104b7347aa55bcbbecf790a309024f13fdf"], ["created_at", "2015-12-22 14:44:59.049122"], ["updated_at", "2015-12-22 14:44:59.049122"]]
|
457
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
458
|
+
Processing by MyForum::UsersController#update as HTML
|
459
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
460
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
461
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
462
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
463
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
465
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.055146' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
466
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
467
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
468
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
469
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
470
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
471
|
+
Unpermitted parameter: password
|
472
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
473
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
474
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
475
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
476
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
477
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
478
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
479
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
480
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
482
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
483
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
484
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "570955e0439902ce08cdcbbfd766d7f22fb242927646e0280c61d95c7eda78b3"], ["email", "demo@example.com"], ["salt", "66f09b558f1c235695e5210827bf7104b7347aa55bcbbecf790a309024f13fdf"], ["created_at", "2015-12-22 14:44:59.066217"], ["updated_at", "2015-12-22 14:44:59.066217"]]
|
485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
486
|
+
Processing by MyForum::UsersController#update as HTML
|
487
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
488
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
489
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
490
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
491
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.072075' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
495
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
496
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
497
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
498
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
499
|
+
Unpermitted parameter: password
|
500
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
501
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
502
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
503
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
504
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
505
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
506
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
509
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
510
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "570955e0439902ce08cdcbbfd766d7f22fb242927646e0280c61d95c7eda78b3"], ["email", "demo@example.com"], ["salt", "66f09b558f1c235695e5210827bf7104b7347aa55bcbbecf790a309024f13fdf"], ["created_at", "2015-12-22 14:44:59.083790"], ["updated_at", "2015-12-22 14:44:59.083790"]]
|
512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
513
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
514
|
+
Processing by MyForum::UsersController#update as HTML
|
515
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
516
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
517
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
518
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
519
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
520
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
521
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.089141' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
523
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
524
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
525
|
+
Unpermitted parameter: new_password
|
526
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
527
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
528
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
529
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
532
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
533
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "ce0cc033e284f7d8299395941d156de6ef8ee74592e1b7d27b9c3ca49fc9e04c"], ["salt", "c5aa31b9024f15cade094067efe868b18b575a6a8d8a77997fd553bb80ddf37f"], ["updated_at", "2015-12-22 14:44:59.095891"], ["id", 2]]
|
534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
535
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
536
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
537
|
+
Unpermitted parameter: password
|
538
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
539
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
540
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
541
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
542
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.2ms)
|
543
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
544
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
545
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
547
|
+
Processing by MyForum::UsersController#create as HTML
|
548
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
549
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
550
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
551
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
552
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
553
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
554
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "17067d9c94c0b2b57710fea6f7d59f063c8d7c47469340f87cb91567880c735b"], ["salt", "603abb349f165c3e971e2a85eac00fe6dd093419a360f41d8bf2eef861fd1e97"], ["created_at", "2015-12-22 14:44:59.115202"], ["updated_at", "2015-12-22 14:44:59.115202"]]
|
555
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 14:44:59.116461"], ["updated_at", "2015-12-22 14:44:59.116461"]]
|
556
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
557
|
+
Redirected to http://test.host/my_forum/
|
558
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
|
559
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
560
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
562
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
563
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
564
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
565
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "a87ccc5034b91bf9b797d90576a631679ac5869d998f3871903ad74b350ae5bb"], ["salt", "6810586a002d8b324dded6d785a34936765fac6c6a4c0d62bd3eee19d3ec6bbd"], ["created_at", "2015-12-22 14:44:59.123059"], ["updated_at", "2015-12-22 14:44:59.123059"]]
|
566
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
567
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
568
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
569
|
+
[1m[35m (0.1ms)[0m begin transaction
|
570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
571
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
572
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
573
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "99887342b84d77af72e0199ff2f5100f4fd4a150f7c7a67ca8c3f1c9b333d781"], ["email", "demo@example.com"], ["salt", "6a564a2b3a4de665b52caa00a3602ab583f195dc550fea8089bc0a97bee1cfca"], ["created_at", "2015-12-22 14:49:25.082407"], ["updated_at", "2015-12-22 14:49:25.082407"]]
|
574
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
575
|
+
Processing by MyForum::UsersController#signin as HTML
|
576
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
577
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
578
|
+
Redirected to http://test.host/my_forum/
|
579
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
580
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
582
|
+
Processing by MyForum::UsersController#signin as HTML
|
583
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
584
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
585
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.3ms)
|
586
|
+
Completed 200 OK in 17ms (Views: 11.7ms | ActiveRecord: 0.1ms)
|
587
|
+
Processing by MyForum::UsersController#signin as HTML
|
588
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
589
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
590
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
591
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
592
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
595
|
+
[1m[35mMyForum::User Exists (0.2ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
596
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
597
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "99887342b84d77af72e0199ff2f5100f4fd4a150f7c7a67ca8c3f1c9b333d781"], ["email", "demo@example.com"], ["salt", "6a564a2b3a4de665b52caa00a3602ab583f195dc550fea8089bc0a97bee1cfca"], ["created_at", "2015-12-22 14:49:25.131673"], ["updated_at", "2015-12-22 14:49:25.131673"]]
|
598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
599
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
600
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
601
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
602
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
603
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
604
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
605
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
606
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
608
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.156089' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
610
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
612
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
613
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
614
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "aaf8c4c4762d2a2a639745c3ab8d96da458f49ec59ea1944a728e7fbce792ed6"], ["salt", "3b5e5d273367cf6c4e586268e0b3de4a99833099374a5f814893734178eb8e92"], ["updated_at", "2015-12-22 14:49:25.166910"], ["id", 2]]
|
615
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
616
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.9ms)
|
617
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
618
|
+
|
619
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 119.0ms
|
620
|
+
|
621
|
+
Sent mail to demo@example.com (4.3ms)
|
622
|
+
Date: Tue, 22 Dec 2015 16:49:25 +0200
|
623
|
+
From: from@example.com
|
624
|
+
To: demo@example.com
|
625
|
+
Message-ID: <567962f545bb9_646a3feebc85e1f8840d3@Vitalys-MacBook-Pro.local.mail>
|
626
|
+
Subject: vaz.od.ua - New password
|
627
|
+
Mime-Version: 1.0
|
628
|
+
Content-Type: multipart/alternative;
|
629
|
+
boundary="--==_mimepart_567962f544fd5_646a3feebc85e1f883955";
|
630
|
+
charset=UTF-8
|
631
|
+
Content-Transfer-Encoding: 7bit
|
632
|
+
|
633
|
+
|
634
|
+
----==_mimepart_567962f544fd5_646a3feebc85e1f883955
|
635
|
+
Content-Type: text/plain;
|
636
|
+
charset=UTF-8
|
637
|
+
Content-Transfer-Encoding: 7bit
|
638
|
+
|
639
|
+
Your new password is: uofwMcVafE
|
640
|
+
|
641
|
+
----==_mimepart_567962f544fd5_646a3feebc85e1f883955
|
642
|
+
Content-Type: text/html;
|
643
|
+
charset=UTF-8
|
644
|
+
Content-Transfer-Encoding: 7bit
|
645
|
+
|
646
|
+
<html>
|
647
|
+
<body>
|
648
|
+
Your new password is: uofwMcVafE
|
649
|
+
|
650
|
+
</body>
|
651
|
+
</html>
|
652
|
+
|
653
|
+
----==_mimepart_567962f544fd5_646a3feebc85e1f883955--
|
654
|
+
|
655
|
+
Redirected to http://test.host/my_forum/
|
656
|
+
Completed 302 Found in 154ms (ActiveRecord: 1.3ms)
|
657
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
658
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
659
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
661
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
662
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
663
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
664
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "99887342b84d77af72e0199ff2f5100f4fd4a150f7c7a67ca8c3f1c9b333d781"], ["email", "demo@example.com"], ["salt", "6a564a2b3a4de665b52caa00a3602ab583f195dc550fea8089bc0a97bee1cfca"], ["created_at", "2015-12-22 14:49:25.295338"], ["updated_at", "2015-12-22 14:49:25.295338"]]
|
665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
666
|
+
Processing by MyForum::UsersController#update as HTML
|
667
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
668
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
669
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
670
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
671
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
673
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.302002' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
675
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
676
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
677
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
678
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
679
|
+
Unpermitted parameter: password
|
680
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
681
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
682
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
683
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
684
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
685
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
686
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
687
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
690
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
691
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
692
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "99887342b84d77af72e0199ff2f5100f4fd4a150f7c7a67ca8c3f1c9b333d781"], ["email", "demo@example.com"], ["salt", "6a564a2b3a4de665b52caa00a3602ab583f195dc550fea8089bc0a97bee1cfca"], ["created_at", "2015-12-22 14:49:25.312747"], ["updated_at", "2015-12-22 14:49:25.312747"]]
|
693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
694
|
+
Processing by MyForum::UsersController#update as HTML
|
695
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
696
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
697
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
698
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
699
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
701
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.318936' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
702
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
703
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
704
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
705
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
706
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
707
|
+
Unpermitted parameter: password
|
708
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
709
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
710
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
711
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
712
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
713
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
714
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
715
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
717
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
718
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "99887342b84d77af72e0199ff2f5100f4fd4a150f7c7a67ca8c3f1c9b333d781"], ["email", "demo@example.com"], ["salt", "6a564a2b3a4de665b52caa00a3602ab583f195dc550fea8089bc0a97bee1cfca"], ["created_at", "2015-12-22 14:49:25.328806"], ["updated_at", "2015-12-22 14:49:25.328806"]]
|
720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
721
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
722
|
+
Processing by MyForum::UsersController#update as HTML
|
723
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
724
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
725
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
726
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
727
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
729
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.336328' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
730
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
731
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
732
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
733
|
+
Unpermitted parameter: new_password
|
734
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
735
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
736
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
737
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
739
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
740
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
741
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "d2260a132ef857a2fac54abce8566a978610ca0c11fb0f37d31d4a295b52b0c9"], ["salt", "1c0921a41066755347cc7cc6e4f35002a27614fa08e353b791f1acc93202644f"], ["updated_at", "2015-12-22 14:49:25.341872"], ["id", 2]]
|
742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
743
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
744
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
745
|
+
Unpermitted parameter: password
|
746
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
747
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
748
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
749
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
750
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.1ms)
|
751
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
752
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
753
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
755
|
+
Processing by MyForum::UsersController#create as HTML
|
756
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
757
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
758
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
761
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
762
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "7d0b79035f5355ea727055a8a3b8d34b876921c3f62c69c93e94907cba29253d"], ["salt", "66a423fe12aff138287a422e17f54cdab4a5ebf64ccaf267e6651eadb2ffd95e"], ["created_at", "2015-12-22 14:49:25.359792"], ["updated_at", "2015-12-22 14:49:25.359792"]]
|
763
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 14:49:25.360916"], ["updated_at", "2015-12-22 14:49:25.360916"]]
|
764
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
765
|
+
Redirected to http://test.host/my_forum/
|
766
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
|
767
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
768
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
772
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
773
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
774
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
775
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "e9a7cb1a7732c886aa3b61e3fc1798225f7a31e594474eb4cd7546f61455066c"], ["salt", "fe4e0633a72d809fcb5d73b4e08478b22add3753a687e0a9b86f5289c781542b"], ["created_at", "2015-12-22 14:51:19.119074"], ["updated_at", "2015-12-22 14:51:19.119074"]]
|
776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
777
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
778
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
779
|
+
[1m[35m (0.1ms)[0m begin transaction
|
780
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
782
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
783
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "b7b66fe9c764d9743157b67f71edd74acfd7f185fee03a991a7d87640100a3da"], ["email", "demo@example.com"], ["salt", "068b48b50a29e6a0f3ab9b6a6b34e7302b83fe16cdd0934ab6d86a6536cb17c8"], ["created_at", "2015-12-22 14:51:22.210015"], ["updated_at", "2015-12-22 14:51:22.210015"]]
|
784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
785
|
+
Processing by MyForum::UsersController#signin as HTML
|
786
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
787
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
788
|
+
Redirected to http://test.host/my_forum/
|
789
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
790
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
791
|
+
[1m[35m (0.0ms)[0m begin transaction
|
792
|
+
Processing by MyForum::UsersController#signin as HTML
|
793
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
794
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
795
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
796
|
+
Completed 200 OK in 15ms (Views: 8.4ms | ActiveRecord: 0.1ms)
|
797
|
+
Processing by MyForum::UsersController#signin as HTML
|
798
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
799
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
800
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
801
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
805
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
806
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
807
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "b7b66fe9c764d9743157b67f71edd74acfd7f185fee03a991a7d87640100a3da"], ["email", "demo@example.com"], ["salt", "068b48b50a29e6a0f3ab9b6a6b34e7302b83fe16cdd0934ab6d86a6536cb17c8"], ["created_at", "2015-12-22 14:51:22.255850"], ["updated_at", "2015-12-22 14:51:22.255850"]]
|
808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
809
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
810
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
811
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
812
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
813
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
814
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
815
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
816
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.281984' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
819
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
820
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
822
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
823
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
824
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "09555df09485acc4285aa49043a12e57ccd37800695e4e6c896d3ab656646626"], ["salt", "a578ac125c2b0b8c8c7eece92d757319183d76116478ea5ca466f5ab73951a3a"], ["updated_at", "2015-12-22 14:51:22.294805"], ["id", 2]]
|
825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
826
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.0ms)
|
827
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.6ms)
|
828
|
+
|
829
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 123.3ms
|
830
|
+
|
831
|
+
Sent mail to demo@example.com (4.5ms)
|
832
|
+
Date: Tue, 22 Dec 2015 16:51:22 +0200
|
833
|
+
From: from@example.com
|
834
|
+
To: demo@example.com
|
835
|
+
Message-ID: <5679636a65f44_64b53fdb5505e1f888685@Vitalys-MacBook-Pro.local.mail>
|
836
|
+
Subject: vaz.od.ua - New password
|
837
|
+
Mime-Version: 1.0
|
838
|
+
Content-Type: multipart/alternative;
|
839
|
+
boundary="--==_mimepart_5679636a65361_64b53fdb5505e1f88857f";
|
840
|
+
charset=UTF-8
|
841
|
+
Content-Transfer-Encoding: 7bit
|
842
|
+
|
843
|
+
|
844
|
+
----==_mimepart_5679636a65361_64b53fdb5505e1f88857f
|
845
|
+
Content-Type: text/plain;
|
846
|
+
charset=UTF-8
|
847
|
+
Content-Transfer-Encoding: 7bit
|
848
|
+
|
849
|
+
Your new password is: krUoKJSUaf
|
850
|
+
|
851
|
+
----==_mimepart_5679636a65361_64b53fdb5505e1f88857f
|
852
|
+
Content-Type: text/html;
|
853
|
+
charset=UTF-8
|
854
|
+
Content-Transfer-Encoding: 7bit
|
855
|
+
|
856
|
+
<html>
|
857
|
+
<body>
|
858
|
+
Your new password is: krUoKJSUaf
|
859
|
+
|
860
|
+
</body>
|
861
|
+
</html>
|
862
|
+
|
863
|
+
----==_mimepart_5679636a65361_64b53fdb5505e1f88857f--
|
864
|
+
|
865
|
+
Redirected to http://test.host/my_forum/
|
866
|
+
Completed 302 Found in 162ms (ActiveRecord: 1.4ms)
|
867
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
868
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
869
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
870
|
+
[1m[35m (0.1ms)[0m begin transaction
|
871
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
872
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
873
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
874
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "b7b66fe9c764d9743157b67f71edd74acfd7f185fee03a991a7d87640100a3da"], ["email", "demo@example.com"], ["salt", "068b48b50a29e6a0f3ab9b6a6b34e7302b83fe16cdd0934ab6d86a6536cb17c8"], ["created_at", "2015-12-22 14:51:22.427515"], ["updated_at", "2015-12-22 14:51:22.427515"]]
|
875
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
876
|
+
Processing by MyForum::UsersController#update as HTML
|
877
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
878
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
879
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
880
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
881
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
882
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
883
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.436128' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
884
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
885
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
886
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
887
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
888
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
889
|
+
Unpermitted parameter: password
|
890
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
891
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
892
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
893
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
894
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.2ms)
|
895
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
896
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
897
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
900
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
901
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
902
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "b7b66fe9c764d9743157b67f71edd74acfd7f185fee03a991a7d87640100a3da"], ["email", "demo@example.com"], ["salt", "068b48b50a29e6a0f3ab9b6a6b34e7302b83fe16cdd0934ab6d86a6536cb17c8"], ["created_at", "2015-12-22 14:51:22.448845"], ["updated_at", "2015-12-22 14:51:22.448845"]]
|
903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
904
|
+
Processing by MyForum::UsersController#update as HTML
|
905
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
906
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
907
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
908
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
909
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
911
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.454830' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
913
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
914
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
915
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
916
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
917
|
+
Unpermitted parameter: password
|
918
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
919
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
920
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
921
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
922
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
923
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
924
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
926
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
927
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
928
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
929
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "b7b66fe9c764d9743157b67f71edd74acfd7f185fee03a991a7d87640100a3da"], ["email", "demo@example.com"], ["salt", "068b48b50a29e6a0f3ab9b6a6b34e7302b83fe16cdd0934ab6d86a6536cb17c8"], ["created_at", "2015-12-22 14:51:22.465485"], ["updated_at", "2015-12-22 14:51:22.465485"]]
|
930
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
931
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
932
|
+
Processing by MyForum::UsersController#update as HTML
|
933
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
934
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
935
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
936
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
937
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
939
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.471715' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
941
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
942
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
943
|
+
Unpermitted parameter: new_password
|
944
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
945
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
946
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
947
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
950
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
951
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "e1512163d61873f43e29d9f7c604f9b56441a3dfbcfde068bf03090df3991a58"], ["salt", "ab3adebabe1e1a9a673c3c22bdf82ced7b4df6a6bc2ab601e0d7690e53f7a124"], ["updated_at", "2015-12-22 14:51:22.477541"], ["id", 2]]
|
952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
953
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
954
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
955
|
+
Unpermitted parameter: password
|
956
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
957
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
958
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
959
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
960
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.2ms)
|
961
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
962
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
963
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
965
|
+
Processing by MyForum::UsersController#create as HTML
|
966
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
967
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
968
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
969
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
970
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
971
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
972
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "0da8dfeb87694c9c1ded2dfd61a924efbccfc26e07f4702521981cc607e4c9aa"], ["salt", "8ca6368dfb436f7349fe679ae8c039e6a7dda8e2c101fe1bfda7fc7cc81ad7cc"], ["created_at", "2015-12-22 14:51:22.494832"], ["updated_at", "2015-12-22 14:51:22.494832"]]
|
973
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 14:51:22.496283"], ["updated_at", "2015-12-22 14:51:22.496283"]]
|
974
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
975
|
+
Redirected to http://test.host/my_forum/
|
976
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
|
977
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
978
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
980
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
983
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
984
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
985
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "3cecbd7075f469aad85e52c62bd04fcf81408dfa36b37e4e9045d3dffde679a9"], ["salt", "c6676f1cfd5acbde4356162d6dfc123c6faa01a0478bb8997a8c499ecb5dc766"], ["created_at", "2015-12-22 14:51:22.525434"], ["updated_at", "2015-12-22 14:51:22.525434"]]
|
986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
987
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
988
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
991
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
992
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
993
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "463805c80cf81f28a13d34654de339aa4737503d1f885677889e247ceb2c1df3"], ["email", "demo@example.com"], ["salt", "3cb2d22ecc27958a8ab6edc66e8bc641a5c6812db8c48bea6f26f9b14f66f490"], ["created_at", "2015-12-22 14:52:43.393969"], ["updated_at", "2015-12-22 14:52:43.393969"]]
|
994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
995
|
+
Processing by MyForum::UsersController#signin as HTML
|
996
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
997
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
998
|
+
Redirected to http://test.host/my_forum/
|
999
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
1000
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1002
|
+
Processing by MyForum::UsersController#signin as HTML
|
1003
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
1004
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
1005
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
1006
|
+
Completed 200 OK in 16ms (Views: 10.1ms | ActiveRecord: 0.1ms)
|
1007
|
+
Processing by MyForum::UsersController#signin as HTML
|
1008
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
1009
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
1010
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
1011
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1012
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1016
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1017
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "463805c80cf81f28a13d34654de339aa4737503d1f885677889e247ceb2c1df3"], ["email", "demo@example.com"], ["salt", "3cb2d22ecc27958a8ab6edc66e8bc641a5c6812db8c48bea6f26f9b14f66f490"], ["created_at", "2015-12-22 14:52:43.437166"], ["updated_at", "2015-12-22 14:52:43.437166"]]
|
1018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1019
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
1020
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
1021
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1022
|
+
[1m[36mMyForum::UserGroup Load (0.2ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
1023
|
+
[1m[35mMyForum::UserGroup Load (0.1ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
1024
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1025
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1026
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1028
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.464842' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1029
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1030
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
1031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1032
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1033
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
1034
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "6aeffc88bdf9258535c0c1b59a6ca15e42b54846acc2c5d8da8748b0996a08d3"], ["salt", "76eb2d6a596ea15365ff65d6f41fb01eae851709a1892e7c28e7a5b03f0981fc"], ["updated_at", "2015-12-22 14:52:43.477642"], ["id", 2]]
|
1035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1036
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.0ms)
|
1037
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (1.0ms)
|
1038
|
+
|
1039
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 119.6ms
|
1040
|
+
|
1041
|
+
Sent mail to demo@example.com (4.1ms)
|
1042
|
+
Date: Tue, 22 Dec 2015 16:52:43 +0200
|
1043
|
+
From: from@example.com
|
1044
|
+
To: demo@example.com
|
1045
|
+
Message-ID: <567963bb914a8_64d83ffb68c521fc778c6@Vitalys-MacBook-Pro.local.mail>
|
1046
|
+
Subject: vaz.od.ua - New password
|
1047
|
+
Mime-Version: 1.0
|
1048
|
+
Content-Type: multipart/alternative;
|
1049
|
+
boundary="--==_mimepart_567963bb90928_64d83ffb68c521fc777e";
|
1050
|
+
charset=UTF-8
|
1051
|
+
Content-Transfer-Encoding: 7bit
|
1052
|
+
|
1053
|
+
|
1054
|
+
----==_mimepart_567963bb90928_64d83ffb68c521fc777e
|
1055
|
+
Content-Type: text/plain;
|
1056
|
+
charset=UTF-8
|
1057
|
+
Content-Transfer-Encoding: 7bit
|
1058
|
+
|
1059
|
+
Your new password is: SoBnDhamby
|
1060
|
+
|
1061
|
+
----==_mimepart_567963bb90928_64d83ffb68c521fc777e
|
1062
|
+
Content-Type: text/html;
|
1063
|
+
charset=UTF-8
|
1064
|
+
Content-Transfer-Encoding: 7bit
|
1065
|
+
|
1066
|
+
<html>
|
1067
|
+
<body>
|
1068
|
+
Your new password is: SoBnDhamby
|
1069
|
+
|
1070
|
+
</body>
|
1071
|
+
</html>
|
1072
|
+
|
1073
|
+
----==_mimepart_567963bb90928_64d83ffb68c521fc777e--
|
1074
|
+
|
1075
|
+
Redirected to http://test.host/my_forum/
|
1076
|
+
Completed 302 Found in 158ms (ActiveRecord: 1.7ms)
|
1077
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1078
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1079
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
1080
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1081
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1082
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1083
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1084
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "463805c80cf81f28a13d34654de339aa4737503d1f885677889e247ceb2c1df3"], ["email", "demo@example.com"], ["salt", "3cb2d22ecc27958a8ab6edc66e8bc641a5c6812db8c48bea6f26f9b14f66f490"], ["created_at", "2015-12-22 14:52:43.605018"], ["updated_at", "2015-12-22 14:52:43.605018"]]
|
1085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1086
|
+
Processing by MyForum::UsersController#update as HTML
|
1087
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1088
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1089
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1090
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1091
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1092
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1093
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.610927' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1095
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1096
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1097
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1098
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1099
|
+
Unpermitted parameter: password
|
1100
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1101
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1102
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1103
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1104
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
1105
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1106
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1107
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1109
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1110
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1111
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1112
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "463805c80cf81f28a13d34654de339aa4737503d1f885677889e247ceb2c1df3"], ["email", "demo@example.com"], ["salt", "3cb2d22ecc27958a8ab6edc66e8bc641a5c6812db8c48bea6f26f9b14f66f490"], ["created_at", "2015-12-22 14:52:43.622063"], ["updated_at", "2015-12-22 14:52:43.622063"]]
|
1113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1114
|
+
Processing by MyForum::UsersController#update as HTML
|
1115
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1116
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1117
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1118
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1119
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1120
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1121
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.628858' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1123
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1124
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1125
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1126
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1127
|
+
Unpermitted parameter: password
|
1128
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1129
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1130
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1131
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1132
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
1133
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1134
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1137
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1138
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1139
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "463805c80cf81f28a13d34654de339aa4737503d1f885677889e247ceb2c1df3"], ["email", "demo@example.com"], ["salt", "3cb2d22ecc27958a8ab6edc66e8bc641a5c6812db8c48bea6f26f9b14f66f490"], ["created_at", "2015-12-22 14:52:43.639519"], ["updated_at", "2015-12-22 14:52:43.639519"]]
|
1140
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1141
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1142
|
+
Processing by MyForum::UsersController#update as HTML
|
1143
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
1144
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1145
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1146
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1147
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1149
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.645611' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1151
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1152
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1153
|
+
Unpermitted parameter: new_password
|
1154
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1155
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1156
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1157
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1159
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
1160
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1161
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "f91f726a9c3eef6a18167756ac966a51504380b40300b58aa8fc80d6914c20e9"], ["salt", "6012f9dfceb3ca1ce7a6807086aea210de9236e4096fb3ba302782968a282b04"], ["updated_at", "2015-12-22 14:52:43.651283"], ["id", 2]]
|
1162
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1163
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1164
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1165
|
+
Unpermitted parameter: password
|
1166
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1167
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1168
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1169
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1170
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.3ms)
|
1171
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1172
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1173
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1175
|
+
Processing by MyForum::UsersController#create as HTML
|
1176
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
1177
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
1178
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
1179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
1181
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
1182
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "dde6f269c6c03380bbe604eb672a7c05074d477600b98b7d5c8df535b576e6b1"], ["salt", "d0af668225612f9201fb5206ddb031e01a0ceb837d180e70cc5c1c7675cd66ee"], ["created_at", "2015-12-22 14:52:43.671242"], ["updated_at", "2015-12-22 14:52:43.671242"]]
|
1183
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 14:52:43.672449"], ["updated_at", "2015-12-22 14:52:43.672449"]]
|
1184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1185
|
+
Redirected to http://test.host/my_forum/
|
1186
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
|
1187
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
1188
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1193
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
1194
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
1195
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "354d4b2436e77ca9739797d2cbf56fa355722210bbf4f0dce2e2833e5fa15bde"], ["salt", "81d2a6492cc1733ebc15313187e2c98c9fea24036df1a28e38ac01436bd0d219"], ["created_at", "2015-12-22 14:52:43.692089"], ["updated_at", "2015-12-22 14:52:43.692089"]]
|
1196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1197
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1198
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1202
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "27764b43c45b5d75edd4c9107533a9fee79c306b6d910f43e1896b00f913d3f7"], ["email", "demo@example.com"], ["salt", "1e31f57983e5591eb4388a56a55012b7834da6d9eeff19acdaa19a3abc7f8aac"], ["created_at", "2015-12-22 14:53:59.213090"], ["updated_at", "2015-12-22 14:53:59.213090"]]
|
1204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
|
+
Processing by MyForum::UsersController#signin as HTML
|
1206
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
1207
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
1208
|
+
Redirected to http://test.host/my_forum/
|
1209
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
1210
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1212
|
+
Processing by MyForum::UsersController#signin as HTML
|
1213
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
1214
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
1215
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
1216
|
+
Completed 200 OK in 17ms (Views: 9.3ms | ActiveRecord: 0.1ms)
|
1217
|
+
Processing by MyForum::UsersController#signin as HTML
|
1218
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
1219
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
1220
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
1221
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1222
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1225
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1226
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1227
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "27764b43c45b5d75edd4c9107533a9fee79c306b6d910f43e1896b00f913d3f7"], ["email", "demo@example.com"], ["salt", "1e31f57983e5591eb4388a56a55012b7834da6d9eeff19acdaa19a3abc7f8aac"], ["created_at", "2015-12-22 14:53:59.258541"], ["updated_at", "2015-12-22 14:53:59.258541"]]
|
1228
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1229
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
1230
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
1231
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1232
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
1233
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
1234
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1235
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1236
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1238
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.286604' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
1241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1242
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1243
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
1244
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "9a39efbd7605a0ad65041f131077b200b9821f19cde44348f7bacdc0068ec842"], ["salt", "c32b597051bd621a9f27c5230be8a52a877061bee4985ad84c0bf51de8aa1804"], ["updated_at", "2015-12-22 14:53:59.297617"], ["id", 2]]
|
1245
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1246
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.8ms)
|
1247
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.6ms)
|
1248
|
+
|
1249
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 121.6ms
|
1250
|
+
|
1251
|
+
Sent mail to demo@example.com (4.4ms)
|
1252
|
+
Date: Tue, 22 Dec 2015 16:53:59 +0200
|
1253
|
+
From: from@example.com
|
1254
|
+
To: demo@example.com
|
1255
|
+
Message-ID: <5679640766581_64fc3fe04c85e2084043@Vitalys-MacBook-Pro.local.mail>
|
1256
|
+
Subject: vaz.od.ua - New password
|
1257
|
+
Mime-Version: 1.0
|
1258
|
+
Content-Type: multipart/alternative;
|
1259
|
+
boundary="--==_mimepart_56796407658ce_64fc3fe04c85e20839cc";
|
1260
|
+
charset=UTF-8
|
1261
|
+
Content-Transfer-Encoding: 7bit
|
1262
|
+
|
1263
|
+
|
1264
|
+
----==_mimepart_56796407658ce_64fc3fe04c85e20839cc
|
1265
|
+
Content-Type: text/plain;
|
1266
|
+
charset=UTF-8
|
1267
|
+
Content-Transfer-Encoding: 7bit
|
1268
|
+
|
1269
|
+
Your new password is: JZEfSkQELz
|
1270
|
+
|
1271
|
+
----==_mimepart_56796407658ce_64fc3fe04c85e20839cc
|
1272
|
+
Content-Type: text/html;
|
1273
|
+
charset=UTF-8
|
1274
|
+
Content-Transfer-Encoding: 7bit
|
1275
|
+
|
1276
|
+
<html>
|
1277
|
+
<body>
|
1278
|
+
Your new password is: JZEfSkQELz
|
1279
|
+
|
1280
|
+
</body>
|
1281
|
+
</html>
|
1282
|
+
|
1283
|
+
----==_mimepart_56796407658ce_64fc3fe04c85e20839cc--
|
1284
|
+
|
1285
|
+
Redirected to http://test.host/my_forum/
|
1286
|
+
Completed 302 Found in 160ms (ActiveRecord: 1.6ms)
|
1287
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1288
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1289
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1291
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1292
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1293
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1294
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "27764b43c45b5d75edd4c9107533a9fee79c306b6d910f43e1896b00f913d3f7"], ["email", "demo@example.com"], ["salt", "1e31f57983e5591eb4388a56a55012b7834da6d9eeff19acdaa19a3abc7f8aac"], ["created_at", "2015-12-22 14:53:59.428603"], ["updated_at", "2015-12-22 14:53:59.428603"]]
|
1295
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1296
|
+
Processing by MyForum::UsersController#update as HTML
|
1297
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1298
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1299
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1300
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1301
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1302
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1303
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.434484' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1305
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1306
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1307
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1308
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1309
|
+
Unpermitted parameter: password
|
1310
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1311
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1312
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1313
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1314
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
|
1315
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1316
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1317
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1320
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1321
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1322
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "27764b43c45b5d75edd4c9107533a9fee79c306b6d910f43e1896b00f913d3f7"], ["email", "demo@example.com"], ["salt", "1e31f57983e5591eb4388a56a55012b7834da6d9eeff19acdaa19a3abc7f8aac"], ["created_at", "2015-12-22 14:53:59.448634"], ["updated_at", "2015-12-22 14:53:59.448634"]]
|
1323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1324
|
+
Processing by MyForum::UsersController#update as HTML
|
1325
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1326
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1327
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1328
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1329
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1331
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.454969' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1333
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1334
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1335
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1336
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1337
|
+
Unpermitted parameter: password
|
1338
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1339
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1340
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1341
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1342
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
1343
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1344
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1347
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1348
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1349
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "27764b43c45b5d75edd4c9107533a9fee79c306b6d910f43e1896b00f913d3f7"], ["email", "demo@example.com"], ["salt", "1e31f57983e5591eb4388a56a55012b7834da6d9eeff19acdaa19a3abc7f8aac"], ["created_at", "2015-12-22 14:53:59.465733"], ["updated_at", "2015-12-22 14:53:59.465733"]]
|
1350
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1351
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1352
|
+
Processing by MyForum::UsersController#update as HTML
|
1353
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
1354
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1355
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1356
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1357
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1359
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.472614' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1361
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1362
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1363
|
+
Unpermitted parameter: new_password
|
1364
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1365
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1366
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1367
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1369
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
1370
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1371
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "a9d4568c177e5a65296a2605dd8fd50896950174ca2acefb950edb72062b1c3e"], ["salt", "f48ee246a9689fca2587bdc9bd18af9a6f269600084c28fd5c3689d26e60746f"], ["updated_at", "2015-12-22 14:53:59.478423"], ["id", 2]]
|
1372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1373
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1374
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1375
|
+
Unpermitted parameter: password
|
1376
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1377
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1378
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1379
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1380
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.2ms)
|
1381
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1382
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1383
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1385
|
+
Processing by MyForum::UsersController#create as HTML
|
1386
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
1387
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
1388
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
1389
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1390
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
1391
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
1392
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "bcd6cec7985c7aecbaea168c36656a704db3d320ee02fe64e0d99048dab4ba49"], ["salt", "bb44722fc31cc406f221bc369f5b267a2444137df4b8254bccb01ea68c5f7bcd"], ["created_at", "2015-12-22 14:53:59.498779"], ["updated_at", "2015-12-22 14:53:59.498779"]]
|
1393
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 14:53:59.500124"], ["updated_at", "2015-12-22 14:53:59.500124"]]
|
1394
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1395
|
+
Redirected to http://test.host/my_forum/
|
1396
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
|
1397
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
1398
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1400
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1403
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
1404
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
1405
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "2666737931c1ab818aaea77ecb1cdb929db5d59fd0bc931864fc208cb07646cd"], ["salt", "21c72f116b6e69b9a7fb2a6b142c93bc7b99262f19b8094497e3ebd569b1dd41"], ["created_at", "2015-12-22 14:53:59.524225"], ["updated_at", "2015-12-22 14:53:59.524225"]]
|
1406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1407
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1408
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1409
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1410
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1411
|
+
[1m[35mMyForum::User Exists (0.4ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1412
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1413
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a6535efa3970113cd939b5e2384d2c19706e57ab465a2ed1aa6a7a03406b8d31"], ["email", "demo@example.com"], ["salt", "2880db6e3e29452f56463210a401cd6bfd1cd6e1b97eae39bec3563a142ce1f0"], ["created_at", "2015-12-22 15:05:40.612051"], ["updated_at", "2015-12-22 15:05:40.612051"]]
|
1414
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1415
|
+
Processing by MyForum::UsersController#signin as HTML
|
1416
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
1417
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
1418
|
+
Redirected to http://test.host/my_forum/
|
1419
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
1420
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1422
|
+
Processing by MyForum::UsersController#signin as HTML
|
1423
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
1424
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
1425
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.3ms)
|
1426
|
+
Completed 200 OK in 23ms (Views: 13.5ms | ActiveRecord: 0.1ms)
|
1427
|
+
Processing by MyForum::UsersController#signin as HTML
|
1428
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
1429
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
1430
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
1431
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
1432
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1433
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1435
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1436
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1437
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a6535efa3970113cd939b5e2384d2c19706e57ab465a2ed1aa6a7a03406b8d31"], ["email", "demo@example.com"], ["salt", "2880db6e3e29452f56463210a401cd6bfd1cd6e1b97eae39bec3563a142ce1f0"], ["created_at", "2015-12-22 15:05:40.668337"], ["updated_at", "2015-12-22 15:05:40.668337"]]
|
1438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1439
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
1440
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
1441
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1442
|
+
[1m[36mMyForum::UserGroup Load (0.4ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
1443
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
1444
|
+
[1m[36mMyForum::UserGroupLink Load (0.4ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1445
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1446
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1448
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.704520' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1450
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
1451
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1452
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1453
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
1454
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "b4960f63cceb9bdfaefdb68013f5a30073bf95c7de3a4852947e522dff3d7ca6"], ["salt", "03653e800597372af1dc9368997c11a8491eae51f899137c7265188a43eab778"], ["updated_at", "2015-12-22 15:05:40.719555"], ["id", 2]]
|
1455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1456
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.5ms)
|
1457
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.9ms)
|
1458
|
+
|
1459
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 142.1ms
|
1460
|
+
|
1461
|
+
Sent mail to demo@example.com (7.3ms)
|
1462
|
+
Date: Tue, 22 Dec 2015 17:05:40 +0200
|
1463
|
+
From: from@example.com
|
1464
|
+
To: demo@example.com
|
1465
|
+
Message-ID: <567966c4d29eb_65ca3fc50085e1fc86827@Vitalys-MacBook-Pro.local.mail>
|
1466
|
+
Subject: vaz.od.ua - New password
|
1467
|
+
Mime-Version: 1.0
|
1468
|
+
Content-Type: multipart/alternative;
|
1469
|
+
boundary="--==_mimepart_567966c4d17c0_65ca3fc50085e1fc8672f";
|
1470
|
+
charset=UTF-8
|
1471
|
+
Content-Transfer-Encoding: 7bit
|
1472
|
+
|
1473
|
+
|
1474
|
+
----==_mimepart_567966c4d17c0_65ca3fc50085e1fc8672f
|
1475
|
+
Content-Type: text/plain;
|
1476
|
+
charset=UTF-8
|
1477
|
+
Content-Transfer-Encoding: 7bit
|
1478
|
+
|
1479
|
+
Your new password is: HDLxpafbpl
|
1480
|
+
|
1481
|
+
----==_mimepart_567966c4d17c0_65ca3fc50085e1fc8672f
|
1482
|
+
Content-Type: text/html;
|
1483
|
+
charset=UTF-8
|
1484
|
+
Content-Transfer-Encoding: 7bit
|
1485
|
+
|
1486
|
+
<html>
|
1487
|
+
<body>
|
1488
|
+
Your new password is: HDLxpafbpl
|
1489
|
+
|
1490
|
+
</body>
|
1491
|
+
</html>
|
1492
|
+
|
1493
|
+
----==_mimepart_567966c4d17c0_65ca3fc50085e1fc8672f--
|
1494
|
+
|
1495
|
+
Redirected to http://test.host/my_forum/
|
1496
|
+
Completed 302 Found in 195ms (ActiveRecord: 2.2ms)
|
1497
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1498
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1499
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1502
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1503
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1504
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a6535efa3970113cd939b5e2384d2c19706e57ab465a2ed1aa6a7a03406b8d31"], ["email", "demo@example.com"], ["salt", "2880db6e3e29452f56463210a401cd6bfd1cd6e1b97eae39bec3563a142ce1f0"], ["created_at", "2015-12-22 15:05:40.873534"], ["updated_at", "2015-12-22 15:05:40.873534"]]
|
1505
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1506
|
+
Processing by MyForum::UsersController#update as HTML
|
1507
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1508
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1509
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1510
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1511
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1512
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1513
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.879688' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1514
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1515
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1516
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1517
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1518
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1519
|
+
Unpermitted parameter: password
|
1520
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1521
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1522
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1523
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1524
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
|
1525
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1526
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1527
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1528
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1530
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1531
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1532
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a6535efa3970113cd939b5e2384d2c19706e57ab465a2ed1aa6a7a03406b8d31"], ["email", "demo@example.com"], ["salt", "2880db6e3e29452f56463210a401cd6bfd1cd6e1b97eae39bec3563a142ce1f0"], ["created_at", "2015-12-22 15:05:40.894384"], ["updated_at", "2015-12-22 15:05:40.894384"]]
|
1533
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1534
|
+
Processing by MyForum::UsersController#update as HTML
|
1535
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1536
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1537
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1538
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1539
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1541
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.901436' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1542
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1543
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1544
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1545
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1546
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1547
|
+
Unpermitted parameter: password
|
1548
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1549
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1550
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1551
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1552
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
1553
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1554
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1556
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1557
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1558
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1559
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a6535efa3970113cd939b5e2384d2c19706e57ab465a2ed1aa6a7a03406b8d31"], ["email", "demo@example.com"], ["salt", "2880db6e3e29452f56463210a401cd6bfd1cd6e1b97eae39bec3563a142ce1f0"], ["created_at", "2015-12-22 15:05:40.913257"], ["updated_at", "2015-12-22 15:05:40.913257"]]
|
1560
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1561
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1562
|
+
Processing by MyForum::UsersController#update as HTML
|
1563
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
1564
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1565
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1566
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1567
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1568
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1569
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.920217' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1570
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1571
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1572
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1573
|
+
Unpermitted parameter: new_password
|
1574
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1575
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1576
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1577
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1579
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
1580
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1581
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "9d4ae32d36cc2d070823af087fc2509b551406752e1e288f7dd21b5c2a5266ec"], ["salt", "3867b8b94553a2164f5905a8143e131c917f897166f12d14eb1e5917dd6d7ad6"], ["updated_at", "2015-12-22 15:05:40.926489"], ["id", 2]]
|
1582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1583
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1584
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1585
|
+
Unpermitted parameter: password
|
1586
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1587
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1588
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1589
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1590
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.3ms)
|
1591
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1592
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1593
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1594
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1595
|
+
Processing by MyForum::UsersController#create as HTML
|
1596
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
1597
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
1598
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
1599
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1600
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
1601
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
1602
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "5cc779a10b5b2e49ed4fe1942d4c7842a25319c5cb63ff32120cc76bdac9e9bc"], ["salt", "b323998c9cdfbee5fb5751bc4f5ce75c3a1a27d9ede8a6337a83c48c318ea23b"], ["created_at", "2015-12-22 15:05:40.947083"], ["updated_at", "2015-12-22 15:05:40.947083"]]
|
1603
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 15:05:40.948677"], ["updated_at", "2015-12-22 15:05:40.948677"]]
|
1604
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1605
|
+
Redirected to http://test.host/my_forum/
|
1606
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
|
1607
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
1608
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1610
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1612
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1613
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
1614
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
1615
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "a653c0c89b4098c6ce481cf1bfba4383259dd6c475c4ecd19a7c62e7f523b655"], ["salt", "d19439c8260f02fe326a7fda6f8d44ce56ab2f1f574fbfe1d4f2c20991224d39"], ["created_at", "2015-12-22 15:06:52.976343"], ["updated_at", "2015-12-22 15:06:52.976343"]]
|
1616
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1617
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1618
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1619
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1621
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1622
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1623
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "0b1219535e13b9b0c8a9ae7e22fa53aa5cd71b114097fb1db5302ecbb43d60dd"], ["email", "demo@example.com"], ["salt", "471506697a646698c60dafa7a7e526095bc51294c9d9405583c55ed1eea51b07"], ["created_at", "2015-12-22 15:06:55.749103"], ["updated_at", "2015-12-22 15:06:55.749103"]]
|
1624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1625
|
+
Processing by MyForum::UsersController#signin as HTML
|
1626
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
1627
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
1628
|
+
Redirected to http://test.host/my_forum/
|
1629
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
1630
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1632
|
+
Processing by MyForum::UsersController#signin as HTML
|
1633
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
1634
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
1635
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.3ms)
|
1636
|
+
Completed 200 OK in 17ms (Views: 11.3ms | ActiveRecord: 0.1ms)
|
1637
|
+
Processing by MyForum::UsersController#signin as HTML
|
1638
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
1639
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
1640
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
1641
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1642
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1643
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1645
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1646
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1647
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "0b1219535e13b9b0c8a9ae7e22fa53aa5cd71b114097fb1db5302ecbb43d60dd"], ["email", "demo@example.com"], ["salt", "471506697a646698c60dafa7a7e526095bc51294c9d9405583c55ed1eea51b07"], ["created_at", "2015-12-22 15:06:55.794006"], ["updated_at", "2015-12-22 15:06:55.794006"]]
|
1648
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1649
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
1650
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
1651
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1652
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
1653
|
+
[1m[35mMyForum::UserGroup Load (0.1ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
1654
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1655
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1656
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1658
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.820614' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1660
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
1661
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1662
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1663
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
1664
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "f4608618e58a33f3e01cb65fe271d8cd669efc902cd27ca6766b94d278c3e52a"], ["salt", "a7f04ca442abcb9886ffa896fc6c75156795e056db49dfeba29b0a0c4dc134bd"], ["updated_at", "2015-12-22 15:06:55.831661"], ["id", 2]]
|
1665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1666
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.0ms)
|
1667
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.8ms)
|
1668
|
+
|
1669
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 123.0ms
|
1670
|
+
|
1671
|
+
Sent mail to demo@example.com (5.2ms)
|
1672
|
+
Date: Tue, 22 Dec 2015 17:06:55 +0200
|
1673
|
+
From: from@example.com
|
1674
|
+
To: demo@example.com
|
1675
|
+
Message-ID: <5679670fe9397_66003fc7f185e20869a9@Vitalys-MacBook-Pro.local.mail>
|
1676
|
+
Subject: vaz.od.ua - New password
|
1677
|
+
Mime-Version: 1.0
|
1678
|
+
Content-Type: multipart/alternative;
|
1679
|
+
boundary="--==_mimepart_5679670fe8478_66003fc7f185e208687f";
|
1680
|
+
charset=UTF-8
|
1681
|
+
Content-Transfer-Encoding: 7bit
|
1682
|
+
|
1683
|
+
|
1684
|
+
----==_mimepart_5679670fe8478_66003fc7f185e208687f
|
1685
|
+
Content-Type: text/plain;
|
1686
|
+
charset=UTF-8
|
1687
|
+
Content-Transfer-Encoding: 7bit
|
1688
|
+
|
1689
|
+
Your new password is: RqnSHIHHTq
|
1690
|
+
|
1691
|
+
----==_mimepart_5679670fe8478_66003fc7f185e208687f
|
1692
|
+
Content-Type: text/html;
|
1693
|
+
charset=UTF-8
|
1694
|
+
Content-Transfer-Encoding: 7bit
|
1695
|
+
|
1696
|
+
<html>
|
1697
|
+
<body>
|
1698
|
+
Your new password is: RqnSHIHHTq
|
1699
|
+
|
1700
|
+
</body>
|
1701
|
+
</html>
|
1702
|
+
|
1703
|
+
----==_mimepart_5679670fe8478_66003fc7f185e208687f--
|
1704
|
+
|
1705
|
+
Redirected to http://test.host/my_forum/
|
1706
|
+
Completed 302 Found in 161ms (ActiveRecord: 1.4ms)
|
1707
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1708
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1709
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1711
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1712
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1713
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1714
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "0b1219535e13b9b0c8a9ae7e22fa53aa5cd71b114097fb1db5302ecbb43d60dd"], ["email", "demo@example.com"], ["salt", "471506697a646698c60dafa7a7e526095bc51294c9d9405583c55ed1eea51b07"], ["created_at", "2015-12-22 15:06:55.965647"], ["updated_at", "2015-12-22 15:06:55.965647"]]
|
1715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1716
|
+
Processing by MyForum::UsersController#update as HTML
|
1717
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1718
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1719
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1720
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1721
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1723
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.974813' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1725
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1726
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1727
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1728
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1729
|
+
Unpermitted parameter: password
|
1730
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1731
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1732
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1733
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1734
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
|
1735
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1736
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1737
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1740
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1741
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1742
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "0b1219535e13b9b0c8a9ae7e22fa53aa5cd71b114097fb1db5302ecbb43d60dd"], ["email", "demo@example.com"], ["salt", "471506697a646698c60dafa7a7e526095bc51294c9d9405583c55ed1eea51b07"], ["created_at", "2015-12-22 15:06:55.987542"], ["updated_at", "2015-12-22 15:06:55.987542"]]
|
1743
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1744
|
+
Processing by MyForum::UsersController#update as HTML
|
1745
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1746
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1747
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1748
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1749
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1750
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1751
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.995002' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1752
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1753
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1754
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1755
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1756
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1757
|
+
Unpermitted parameter: password
|
1758
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1759
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1760
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1761
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1762
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.9ms)
|
1763
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1764
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1765
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1766
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1767
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1768
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1769
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "914b022f3661e66b6bc9917c87ad4c9975c24bbbb5fdf889a77e578c5a74de00"], ["email", "demo@example.com"], ["salt", "4dc4aff58dc2c49a1c0042e31cd1d878e6ca46bf7376aefeb1d56270337b5bb0"], ["created_at", "2015-12-22 15:06:56.007470"], ["updated_at", "2015-12-22 15:06:56.007470"]]
|
1770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1771
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1772
|
+
Processing by MyForum::UsersController#update as HTML
|
1773
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
1774
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1775
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1776
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1777
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1779
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:56.015749' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1781
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1782
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1783
|
+
Unpermitted parameter: new_password
|
1784
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1785
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1786
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1787
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1789
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
1790
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1791
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "48fcf18f878f443288472e05a20140bb383c0523d0649a49aadd6f42735dbfc3"], ["salt", "3d0274ba3c216383215b1b9b2ba1fae6667ff105f1e357ba3a78c5d406c896f7"], ["updated_at", "2015-12-22 15:06:56.021842"], ["id", 2]]
|
1792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1793
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1794
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1795
|
+
Unpermitted parameter: password
|
1796
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1797
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1798
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1799
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1800
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.2ms)
|
1801
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1802
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1803
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1805
|
+
Processing by MyForum::UsersController#create as HTML
|
1806
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
1807
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
1808
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
1809
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1810
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
1811
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
1812
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "c882fb0d68a6d19522c68bab3d049e4f51e5a906037f444b6bc5c605251ea329"], ["salt", "925c62a1006b53b78226c18eab2c77d0c1fc3c4e04883209d6a257c4df6945d6"], ["created_at", "2015-12-22 15:06:56.042058"], ["updated_at", "2015-12-22 15:06:56.042058"]]
|
1813
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 15:06:56.044094"], ["updated_at", "2015-12-22 15:06:56.044094"]]
|
1814
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1815
|
+
Redirected to http://test.host/my_forum/
|
1816
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
|
1817
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
1818
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1822
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1823
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
1824
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
1825
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "e4cfcbc12f9d98d583e4a8192f87ff8dff65f35cf00b99a36591507aaabb95f8"], ["salt", "caa38fbbc3cec2ea62afea02d10a8ad97be03eafe28d6ad4e9aa865baaf16013"], ["created_at", "2015-12-22 15:07:02.529809"], ["updated_at", "2015-12-22 15:07:02.529809"]]
|
1826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1827
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1828
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1831
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1832
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1833
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "322d108ec32e4d993dc274fad1bf5b079dceda55ba7d76c3070d4e1c6cd35339"], ["email", "demo@example.com"], ["salt", "b2a07207f97081b783871fbd43ba56ed2fbf2ea7b283ae18f2ce45a5860238a4"], ["created_at", "2015-12-22 15:07:11.222222"], ["updated_at", "2015-12-22 15:07:11.222222"]]
|
1834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1835
|
+
Processing by MyForum::UsersController#signin as HTML
|
1836
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
1837
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
1838
|
+
Redirected to http://test.host/my_forum/
|
1839
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
1840
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1842
|
+
Processing by MyForum::UsersController#signin as HTML
|
1843
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
1844
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
1845
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
1846
|
+
Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 0.1ms)
|
1847
|
+
Processing by MyForum::UsersController#signin as HTML
|
1848
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
1849
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
1850
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
1851
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1852
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1855
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1856
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1857
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "322d108ec32e4d993dc274fad1bf5b079dceda55ba7d76c3070d4e1c6cd35339"], ["email", "demo@example.com"], ["salt", "b2a07207f97081b783871fbd43ba56ed2fbf2ea7b283ae18f2ce45a5860238a4"], ["created_at", "2015-12-22 15:07:11.267854"], ["updated_at", "2015-12-22 15:07:11.267854"]]
|
1858
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1859
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
1860
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
1861
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1862
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
1863
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
1864
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1865
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1866
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1868
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.295057' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1870
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
1871
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1872
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
1873
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
1874
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "1103174d30ac800bdd4479bfc24482377113b921498f602d3ca772e3f57035db"], ["salt", "4099fdc95f8f818a26285b783e81acaeb5856aa6cdd0d55074007a011031f45f"], ["updated_at", "2015-12-22 15:07:11.307799"], ["id", 2]]
|
1875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1876
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.8ms)
|
1877
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
1878
|
+
|
1879
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 128.6ms
|
1880
|
+
|
1881
|
+
Sent mail to demo@example.com (4.2ms)
|
1882
|
+
Date: Tue, 22 Dec 2015 17:07:11 +0200
|
1883
|
+
From: from@example.com
|
1884
|
+
To: demo@example.com
|
1885
|
+
Message-ID: <5679671f6a7b1_661c3fd4994041e46684e@Vitalys-MacBook-Pro.local.mail>
|
1886
|
+
Subject: vaz.od.ua - New password
|
1887
|
+
Mime-Version: 1.0
|
1888
|
+
Content-Type: multipart/alternative;
|
1889
|
+
boundary="--==_mimepart_5679671f69c20_661c3fd4994041e4667eb";
|
1890
|
+
charset=UTF-8
|
1891
|
+
Content-Transfer-Encoding: 7bit
|
1892
|
+
|
1893
|
+
|
1894
|
+
----==_mimepart_5679671f69c20_661c3fd4994041e4667eb
|
1895
|
+
Content-Type: text/plain;
|
1896
|
+
charset=UTF-8
|
1897
|
+
Content-Transfer-Encoding: 7bit
|
1898
|
+
|
1899
|
+
Your new password is: OhWrPXqJqj
|
1900
|
+
|
1901
|
+
----==_mimepart_5679671f69c20_661c3fd4994041e4667eb
|
1902
|
+
Content-Type: text/html;
|
1903
|
+
charset=UTF-8
|
1904
|
+
Content-Transfer-Encoding: 7bit
|
1905
|
+
|
1906
|
+
<html>
|
1907
|
+
<body>
|
1908
|
+
Your new password is: OhWrPXqJqj
|
1909
|
+
|
1910
|
+
</body>
|
1911
|
+
</html>
|
1912
|
+
|
1913
|
+
----==_mimepart_5679671f69c20_661c3fd4994041e4667eb--
|
1914
|
+
|
1915
|
+
Redirected to http://test.host/my_forum/
|
1916
|
+
Completed 302 Found in 168ms (ActiveRecord: 1.6ms)
|
1917
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1918
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1919
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
1920
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1922
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
1923
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
1924
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "322d108ec32e4d993dc274fad1bf5b079dceda55ba7d76c3070d4e1c6cd35339"], ["email", "demo@example.com"], ["salt", "b2a07207f97081b783871fbd43ba56ed2fbf2ea7b283ae18f2ce45a5860238a4"], ["created_at", "2015-12-22 15:07:11.447433"], ["updated_at", "2015-12-22 15:07:11.447433"]]
|
1925
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1926
|
+
Processing by MyForum::UsersController#update as HTML
|
1927
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1928
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1929
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1930
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1931
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1933
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.454860' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1934
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1935
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1936
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1937
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1938
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1939
|
+
Unpermitted parameter: password
|
1940
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1941
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1942
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1943
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1944
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
1945
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
1946
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1947
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1950
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1951
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1952
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "322d108ec32e4d993dc274fad1bf5b079dceda55ba7d76c3070d4e1c6cd35339"], ["email", "demo@example.com"], ["salt", "b2a07207f97081b783871fbd43ba56ed2fbf2ea7b283ae18f2ce45a5860238a4"], ["created_at", "2015-12-22 15:07:11.466482"], ["updated_at", "2015-12-22 15:07:11.466482"]]
|
1953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1954
|
+
Processing by MyForum::UsersController#update as HTML
|
1955
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
1956
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1957
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1958
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1959
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1961
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.474550' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1962
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1963
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1964
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1965
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1966
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1967
|
+
Unpermitted parameter: password
|
1968
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
1969
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1970
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1971
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
1972
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
|
1973
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1974
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1976
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1977
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
1978
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
1979
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "322d108ec32e4d993dc274fad1bf5b079dceda55ba7d76c3070d4e1c6cd35339"], ["email", "demo@example.com"], ["salt", "b2a07207f97081b783871fbd43ba56ed2fbf2ea7b283ae18f2ce45a5860238a4"], ["created_at", "2015-12-22 15:07:11.487517"], ["updated_at", "2015-12-22 15:07:11.487517"]]
|
1980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1981
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
1982
|
+
Processing by MyForum::UsersController#update as HTML
|
1983
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
1984
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1985
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1986
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
1987
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
1988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1989
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.494999' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
1990
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1991
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1992
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1993
|
+
Unpermitted parameter: new_password
|
1994
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1995
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1996
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
1997
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
1998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1999
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
2000
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2001
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "a30737585788abd1a2a32fc8cf8794f552bd91833e43339fed670561c70ecfdb"], ["salt", "b3814a6f0197338a395009825276be41fe5ae8eb04a68f183c0ca6744e9bab6a"], ["updated_at", "2015-12-22 15:07:11.502795"], ["id", 2]]
|
2002
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2003
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2004
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2005
|
+
Unpermitted parameter: password
|
2006
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2007
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2008
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2009
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2010
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.4ms)
|
2011
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2012
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2013
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2014
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2015
|
+
Processing by MyForum::UsersController#create as HTML
|
2016
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
2017
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
2018
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
2019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2020
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
2021
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
2022
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "2bbbcc9ce80baa931099e516944e47a2a03d7bf43c1dc496d45f74f332ac2efa"], ["salt", "cf78896243fdadd256c2a222633514ea26819b26c21f3906a834a37ee2f56b99"], ["created_at", "2015-12-22 15:07:11.525335"], ["updated_at", "2015-12-22 15:07:11.525335"]]
|
2023
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-22 15:07:11.526739"], ["updated_at", "2015-12-22 15:07:11.526739"]]
|
2024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2025
|
+
Redirected to http://test.host/my_forum/
|
2026
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
|
2027
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
2028
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2032
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2033
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
2034
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
2035
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "ca72a3cf06abfa220ca775b4dd8e292bbe3e82f1a434a8e5d13760f0166bb517"], ["salt", "7be118eaae73143ce21ff50a6578adafac85e830681abd115f122ae4819fd996"], ["created_at", "2015-12-22 15:25:19.770928"], ["updated_at", "2015-12-22 15:25:19.770928"]]
|
2036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2037
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2038
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2040
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2041
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2042
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2043
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e73c7aba8fa4577414e8c31c2cb0ec341cd2d62a6a7ba0ebd1842c593099a903"], ["email", "demo@example.com"], ["salt", "aef1fd0cb218e4df8718e86c73a1271041a3b77c71d96d12aefecd325a866ff4"], ["created_at", "2015-12-23 09:01:59.523822"], ["updated_at", "2015-12-23 09:01:59.523822"]]
|
2044
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2045
|
+
Processing by MyForum::UsersController#signin as HTML
|
2046
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
2047
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
2048
|
+
Redirected to http://test.host/my_forum/
|
2049
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2050
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2051
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2052
|
+
Processing by MyForum::UsersController#signin as HTML
|
2053
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
2054
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
2055
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
2056
|
+
Completed 200 OK in 15ms (Views: 8.4ms | ActiveRecord: 0.1ms)
|
2057
|
+
Processing by MyForum::UsersController#signin as HTML
|
2058
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
2059
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
2060
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
2061
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2063
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2065
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2066
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2067
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e73c7aba8fa4577414e8c31c2cb0ec341cd2d62a6a7ba0ebd1842c593099a903"], ["email", "demo@example.com"], ["salt", "aef1fd0cb218e4df8718e86c73a1271041a3b77c71d96d12aefecd325a866ff4"], ["created_at", "2015-12-23 09:01:59.573685"], ["updated_at", "2015-12-23 09:01:59.573685"]]
|
2068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2069
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
2070
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
2071
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2072
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
2073
|
+
[1m[35mMyForum::UserGroup Load (0.1ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
2074
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2075
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2076
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2078
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.604802' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2080
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
2081
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2082
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2083
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
2084
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "652cdfa4a9998a2f23a5248edbc0d21b3512551de940866d817b0a99c3cc91c2"], ["salt", "67ffc2c7b1e4508dc74318d7a74329b29723a69d132b695ec0a6984d868a05c4"], ["updated_at", "2015-12-23 09:01:59.616829"], ["id", 2]]
|
2085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2086
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.3ms)
|
2087
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
2088
|
+
|
2089
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 147.5ms
|
2090
|
+
|
2091
|
+
Sent mail to demo@example.com (8.1ms)
|
2092
|
+
Date: Wed, 23 Dec 2015 11:01:59 +0200
|
2093
|
+
From: from@example.com
|
2094
|
+
To: demo@example.com
|
2095
|
+
Message-ID: <567a6307bb173_70f83fddc142c20881684@Vitalys-MacBook-Pro.local.mail>
|
2096
|
+
Subject: vaz.od.ua - New password
|
2097
|
+
Mime-Version: 1.0
|
2098
|
+
Content-Type: multipart/alternative;
|
2099
|
+
boundary="--==_mimepart_567a6307b9bae_70f83fddc142c20881564";
|
2100
|
+
charset=UTF-8
|
2101
|
+
Content-Transfer-Encoding: 7bit
|
2102
|
+
|
2103
|
+
|
2104
|
+
----==_mimepart_567a6307b9bae_70f83fddc142c20881564
|
2105
|
+
Content-Type: text/plain;
|
2106
|
+
charset=UTF-8
|
2107
|
+
Content-Transfer-Encoding: 7bit
|
2108
|
+
|
2109
|
+
Your new password is: AnCffcYpyC
|
2110
|
+
|
2111
|
+
----==_mimepart_567a6307b9bae_70f83fddc142c20881564
|
2112
|
+
Content-Type: text/html;
|
2113
|
+
charset=UTF-8
|
2114
|
+
Content-Transfer-Encoding: 7bit
|
2115
|
+
|
2116
|
+
<html>
|
2117
|
+
<body>
|
2118
|
+
Your new password is: AnCffcYpyC
|
2119
|
+
|
2120
|
+
</body>
|
2121
|
+
</html>
|
2122
|
+
|
2123
|
+
----==_mimepart_567a6307b9bae_70f83fddc142c20881564--
|
2124
|
+
|
2125
|
+
Redirected to http://test.host/my_forum/
|
2126
|
+
Completed 302 Found in 194ms (ActiveRecord: 1.5ms)
|
2127
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2128
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2129
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2131
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2132
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2133
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2134
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e73c7aba8fa4577414e8c31c2cb0ec341cd2d62a6a7ba0ebd1842c593099a903"], ["email", "demo@example.com"], ["salt", "aef1fd0cb218e4df8718e86c73a1271041a3b77c71d96d12aefecd325a866ff4"], ["created_at", "2015-12-23 09:01:59.777381"], ["updated_at", "2015-12-23 09:01:59.777381"]]
|
2135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2136
|
+
Processing by MyForum::UsersController#update as HTML
|
2137
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2138
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2139
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2140
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2141
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2143
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.784539' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2145
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2146
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2147
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2148
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2149
|
+
Unpermitted parameter: password
|
2150
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2151
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2152
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2153
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2154
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
2155
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2156
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2157
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2160
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2161
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "e73c7aba8fa4577414e8c31c2cb0ec341cd2d62a6a7ba0ebd1842c593099a903"], ["email", "demo@example.com"], ["salt", "aef1fd0cb218e4df8718e86c73a1271041a3b77c71d96d12aefecd325a866ff4"], ["created_at", "2015-12-23 09:01:59.795755"], ["updated_at", "2015-12-23 09:01:59.795755"]]
|
2163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2164
|
+
Processing by MyForum::UsersController#update as HTML
|
2165
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2166
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2167
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2168
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2169
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2171
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.802000' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2173
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2174
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2175
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2176
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2177
|
+
Unpermitted parameter: password
|
2178
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2179
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2180
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2181
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2182
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
2183
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2184
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2186
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2187
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2188
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2189
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "e73c7aba8fa4577414e8c31c2cb0ec341cd2d62a6a7ba0ebd1842c593099a903"], ["email", "demo@example.com"], ["salt", "aef1fd0cb218e4df8718e86c73a1271041a3b77c71d96d12aefecd325a866ff4"], ["created_at", "2015-12-23 09:01:59.813175"], ["updated_at", "2015-12-23 09:01:59.813175"]]
|
2190
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2191
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2192
|
+
Processing by MyForum::UsersController#update as HTML
|
2193
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
2194
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2195
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2196
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2197
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2198
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2199
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.820563' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2200
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2201
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2202
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2203
|
+
Unpermitted parameter: new_password
|
2204
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2205
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2206
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2207
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2209
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
2210
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2211
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "2d5bd02386e454334b6d6ae65f39523c2d84f37b6342b6b8e833a10a4b1ff1b3"], ["salt", "47fd15fd1831659bd8f86943a9b07f2c8ef7450804cc95c19abd64121a30e68a"], ["updated_at", "2015-12-23 09:01:59.826166"], ["id", 2]]
|
2212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2213
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2214
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2215
|
+
Unpermitted parameter: password
|
2216
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2217
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2218
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2219
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2220
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.3ms)
|
2221
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2222
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2223
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2225
|
+
Processing by MyForum::UsersController#create as HTML
|
2226
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
2227
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
2228
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
2229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2230
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
2231
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
2232
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "a961d4f81537615d10dcb78f210d297545623813772ff3f8f34612d60f6971b0"], ["salt", "799c7f3e64718b972d7a3abfdfdb551d82f85f27bb1ebf54e18160c73753f862"], ["created_at", "2015-12-23 09:01:59.846702"], ["updated_at", "2015-12-23 09:01:59.846702"]]
|
2233
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:01:59.847845"], ["updated_at", "2015-12-23 09:01:59.847845"]]
|
2234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2235
|
+
Redirected to http://test.host/my_forum/
|
2236
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
|
2237
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
2238
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2240
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2243
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
2244
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
2245
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "bdc0b931df1c2e04dd703b493b047cfdf1b8d874963503ca1289e93536cc4c30"], ["salt", "7243d968d2185fe54d915130f1be054db3130be3873072436a6fea58e47ad476"], ["created_at", "2015-12-23 09:06:18.728577"], ["updated_at", "2015-12-23 09:06:18.728577"]]
|
2246
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2247
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2248
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2249
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2252
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2253
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2254
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "86b88de06c126ea46ae898c1f76917f58c70828cc51354732343fe808bf0158a"], ["email", "demo@example.com"], ["salt", "d1fff5e550683d887c5cc7400daf5297d2333ec3b4ae7423d4e14606f480daf6"], ["created_at", "2015-12-23 09:06:33.990494"], ["updated_at", "2015-12-23 09:06:33.990494"]]
|
2255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2256
|
+
Processing by MyForum::UsersController#signin as HTML
|
2257
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
2258
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
2259
|
+
Redirected to http://test.host/my_forum/
|
2260
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2261
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2263
|
+
Processing by MyForum::UsersController#signin as HTML
|
2264
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
2265
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
2266
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
2267
|
+
Completed 200 OK in 15ms (Views: 8.3ms | ActiveRecord: 0.1ms)
|
2268
|
+
Processing by MyForum::UsersController#signin as HTML
|
2269
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
2270
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
2271
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
2272
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2273
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2274
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2275
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2276
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2277
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2278
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "7f1b38f904b520325888b75e39437e50e7dbbaced2068f3ddab9f9900be61abd"], ["email", "demo@example.com"], ["salt", "039e608b192826cf911f0f721e6daa6182f70a180382fa424b18f70d3cf0113b"], ["created_at", "2015-12-23 09:06:34.033670"], ["updated_at", "2015-12-23 09:06:34.033670"]]
|
2279
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2280
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
2281
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
2282
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2283
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
2284
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
2285
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2286
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2287
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2288
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2289
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.059744' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2290
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2291
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
2292
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2293
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2294
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
2295
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "fa28234b86490a14db3207782c5959524285c729f27aabdd18a3d8659c07019e"], ["salt", "0e8d4b6fe0160693a1ad5b95252201a6e7c4a1ed8aeea4ef6f066af4330e0f2e"], ["updated_at", "2015-12-23 09:06:34.071458"], ["id", 2]]
|
2296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2297
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.8ms)
|
2298
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
2299
|
+
|
2300
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 113.4ms
|
2301
|
+
|
2302
|
+
Sent mail to demo@example.com (4.3ms)
|
2303
|
+
Date: Wed, 23 Dec 2015 11:06:34 +0200
|
2304
|
+
From: from@example.com
|
2305
|
+
To: demo@example.com
|
2306
|
+
Message-ID: <567a641a2d1e0_71a33ff009c5e200585f5@Vitalys-MacBook-Pro.local.mail>
|
2307
|
+
Subject: vaz.od.ua - New password
|
2308
|
+
Mime-Version: 1.0
|
2309
|
+
Content-Type: multipart/alternative;
|
2310
|
+
boundary="--==_mimepart_567a641a2c638_71a33ff009c5e2005847";
|
2311
|
+
charset=UTF-8
|
2312
|
+
Content-Transfer-Encoding: 7bit
|
2313
|
+
|
2314
|
+
|
2315
|
+
----==_mimepart_567a641a2c638_71a33ff009c5e2005847
|
2316
|
+
Content-Type: text/plain;
|
2317
|
+
charset=UTF-8
|
2318
|
+
Content-Transfer-Encoding: 7bit
|
2319
|
+
|
2320
|
+
Your new password is: vsAtINwhds
|
2321
|
+
|
2322
|
+
----==_mimepart_567a641a2c638_71a33ff009c5e2005847
|
2323
|
+
Content-Type: text/html;
|
2324
|
+
charset=UTF-8
|
2325
|
+
Content-Transfer-Encoding: 7bit
|
2326
|
+
|
2327
|
+
<html>
|
2328
|
+
<body>
|
2329
|
+
Your new password is: vsAtINwhds
|
2330
|
+
|
2331
|
+
</body>
|
2332
|
+
</html>
|
2333
|
+
|
2334
|
+
----==_mimepart_567a641a2c638_71a33ff009c5e2005847--
|
2335
|
+
|
2336
|
+
Redirected to http://test.host/my_forum/
|
2337
|
+
Completed 302 Found in 151ms (ActiveRecord: 1.4ms)
|
2338
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2339
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2340
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
2341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2342
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2343
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2344
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2345
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "7f1b38f904b520325888b75e39437e50e7dbbaced2068f3ddab9f9900be61abd"], ["email", "demo@example.com"], ["salt", "039e608b192826cf911f0f721e6daa6182f70a180382fa424b18f70d3cf0113b"], ["created_at", "2015-12-23 09:06:34.194737"], ["updated_at", "2015-12-23 09:06:34.194737"]]
|
2346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2347
|
+
Processing by MyForum::UsersController#update as HTML
|
2348
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2349
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2350
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2351
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2352
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2354
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.201004' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2356
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2357
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2358
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2359
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2360
|
+
Unpermitted parameter: password
|
2361
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2362
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2363
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2364
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2365
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
2366
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2367
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2368
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2371
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2372
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2373
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "7f1b38f904b520325888b75e39437e50e7dbbaced2068f3ddab9f9900be61abd"], ["email", "demo@example.com"], ["salt", "039e608b192826cf911f0f721e6daa6182f70a180382fa424b18f70d3cf0113b"], ["created_at", "2015-12-23 09:06:34.211324"], ["updated_at", "2015-12-23 09:06:34.211324"]]
|
2374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2375
|
+
Processing by MyForum::UsersController#update as HTML
|
2376
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2377
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2378
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2379
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2380
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2382
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.216929' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2383
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2384
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2385
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2386
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2387
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2388
|
+
Unpermitted parameter: password
|
2389
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2390
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2391
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2392
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2393
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
2394
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2395
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2398
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2399
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2400
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "7f1b38f904b520325888b75e39437e50e7dbbaced2068f3ddab9f9900be61abd"], ["email", "demo@example.com"], ["salt", "039e608b192826cf911f0f721e6daa6182f70a180382fa424b18f70d3cf0113b"], ["created_at", "2015-12-23 09:06:34.226818"], ["updated_at", "2015-12-23 09:06:34.226818"]]
|
2401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2402
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2403
|
+
Processing by MyForum::UsersController#update as HTML
|
2404
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
2405
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2406
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2407
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2408
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2410
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.234337' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2412
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2413
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2414
|
+
Unpermitted parameter: new_password
|
2415
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2416
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2417
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2418
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2419
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
2421
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2422
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "cda8fba5185a87828d16c49632c868488777367041b2b3baf4bcdf4f372e57de"], ["salt", "bde992be04185433ee4c8ff85bdefb7d1ba7c56187b21505e26c3147d934527d"], ["updated_at", "2015-12-23 09:06:34.239976"], ["id", 2]]
|
2423
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2424
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2425
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2426
|
+
Unpermitted parameter: password
|
2427
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2428
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2429
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2430
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2431
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.1ms)
|
2432
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2433
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2434
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2435
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2436
|
+
Processing by MyForum::UsersController#create as HTML
|
2437
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
2438
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
2439
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
2440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2441
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
2442
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
2443
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "9814179762547c02d8f5e754c53a40ee9dd499720afcd298165e5dea26657455"], ["salt", "fbaef7dc925310825dddca23a0d5085ddff9caf919715e4e22e97d0983720dd1"], ["created_at", "2015-12-23 09:06:34.259843"], ["updated_at", "2015-12-23 09:06:34.259843"]]
|
2444
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:06:34.261007"], ["updated_at", "2015-12-23 09:06:34.261007"]]
|
2445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2446
|
+
Redirected to http://test.host/my_forum/
|
2447
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
|
2448
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
2449
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2451
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2454
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
2455
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
2456
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "9760228d1cf33940f213f01ee6444959783b926712a3e58d2029209d8e19df8b"], ["salt", "9f5d5598faf2a241cdd00b7e853f804071b9038841bfa97b40c3dcc899c9cc56"], ["created_at", "2015-12-23 09:06:34.270474"], ["updated_at", "2015-12-23 09:06:34.270474"]]
|
2457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2458
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2459
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2460
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2462
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2463
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2464
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e8095864c55b4f23284c20728c8fb0968782badbb9b68e7951df8dbbfc0a8353"], ["email", "demo@example.com"], ["salt", "51bcc17831674807b82a5c9fcba44e83fd07ccffb72ed8c89220b21491965468"], ["created_at", "2015-12-23 09:06:57.139862"], ["updated_at", "2015-12-23 09:06:57.139862"]]
|
2465
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2466
|
+
Processing by MyForum::UsersController#signin as HTML
|
2467
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
2468
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
2469
|
+
Redirected to http://test.host/my_forum/
|
2470
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
|
2471
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
2472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2473
|
+
Processing by MyForum::UsersController#signin as HTML
|
2474
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
2475
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
2476
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
2477
|
+
Completed 200 OK in 13ms (Views: 7.9ms | ActiveRecord: 0.1ms)
|
2478
|
+
Processing by MyForum::UsersController#signin as HTML
|
2479
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
2480
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
2481
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
2482
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2483
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2486
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2487
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2488
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e8095864c55b4f23284c20728c8fb0968782badbb9b68e7951df8dbbfc0a8353"], ["email", "demo@example.com"], ["salt", "51bcc17831674807b82a5c9fcba44e83fd07ccffb72ed8c89220b21491965468"], ["created_at", "2015-12-23 09:06:57.183652"], ["updated_at", "2015-12-23 09:06:57.183652"]]
|
2489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2490
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
2491
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
2492
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2493
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
2494
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
2495
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2496
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2497
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2499
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.207272' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2500
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2501
|
+
[1m[36mMyForum::User Load (0.2ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
2502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2503
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2504
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
2505
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "4c75def842d18b576ef386e22f05cf617b5b9c36c4d1ac377450994538874ac8"], ["salt", "fe3532e161a00edada84c62398160cc04cd42a5bc400614608e3af48c732038a"], ["updated_at", "2015-12-23 09:06:57.222559"], ["id", 2]]
|
2506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2507
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.9ms)
|
2508
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
2509
|
+
|
2510
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 114.1ms
|
2511
|
+
|
2512
|
+
Sent mail to demo@example.com (4.2ms)
|
2513
|
+
Date: Wed, 23 Dec 2015 11:06:57 +0200
|
2514
|
+
From: from@example.com
|
2515
|
+
To: demo@example.com
|
2516
|
+
Message-ID: <567a643151fae_71c53ffd1905e208361bd@Vitalys-MacBook-Pro.local.mail>
|
2517
|
+
Subject: vaz.od.ua - New password
|
2518
|
+
Mime-Version: 1.0
|
2519
|
+
Content-Type: multipart/alternative;
|
2520
|
+
boundary="--==_mimepart_567a643151494_71c53ffd1905e208360e0";
|
2521
|
+
charset=UTF-8
|
2522
|
+
Content-Transfer-Encoding: 7bit
|
2523
|
+
|
2524
|
+
|
2525
|
+
----==_mimepart_567a643151494_71c53ffd1905e208360e0
|
2526
|
+
Content-Type: text/plain;
|
2527
|
+
charset=UTF-8
|
2528
|
+
Content-Transfer-Encoding: 7bit
|
2529
|
+
|
2530
|
+
Your new password is: kXjaBDEIji
|
2531
|
+
|
2532
|
+
----==_mimepart_567a643151494_71c53ffd1905e208360e0
|
2533
|
+
Content-Type: text/html;
|
2534
|
+
charset=UTF-8
|
2535
|
+
Content-Transfer-Encoding: 7bit
|
2536
|
+
|
2537
|
+
<html>
|
2538
|
+
<body>
|
2539
|
+
Your new password is: kXjaBDEIji
|
2540
|
+
|
2541
|
+
</body>
|
2542
|
+
</html>
|
2543
|
+
|
2544
|
+
----==_mimepart_567a643151494_71c53ffd1905e208360e0--
|
2545
|
+
|
2546
|
+
Redirected to http://test.host/my_forum/
|
2547
|
+
Completed 302 Found in 152ms (ActiveRecord: 1.4ms)
|
2548
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2549
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2550
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2553
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2554
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2555
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "e8095864c55b4f23284c20728c8fb0968782badbb9b68e7951df8dbbfc0a8353"], ["email", "demo@example.com"], ["salt", "51bcc17831674807b82a5c9fcba44e83fd07ccffb72ed8c89220b21491965468"], ["created_at", "2015-12-23 09:06:57.345175"], ["updated_at", "2015-12-23 09:06:57.345175"]]
|
2556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2557
|
+
Processing by MyForum::UsersController#update as HTML
|
2558
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2559
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2560
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2561
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2562
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2563
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2564
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.351344' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2565
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2566
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2567
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2568
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2569
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2570
|
+
Unpermitted parameter: password
|
2571
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2572
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2573
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2574
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2575
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
2576
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2577
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2578
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2579
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2581
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2582
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2583
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "e8095864c55b4f23284c20728c8fb0968782badbb9b68e7951df8dbbfc0a8353"], ["email", "demo@example.com"], ["salt", "51bcc17831674807b82a5c9fcba44e83fd07ccffb72ed8c89220b21491965468"], ["created_at", "2015-12-23 09:06:57.361775"], ["updated_at", "2015-12-23 09:06:57.361775"]]
|
2584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2585
|
+
Processing by MyForum::UsersController#update as HTML
|
2586
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2587
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2588
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2589
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2590
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2591
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2592
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.367593' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2593
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2594
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2595
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2596
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2597
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2598
|
+
Unpermitted parameter: password
|
2599
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2600
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2601
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2602
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2603
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
2604
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2605
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2608
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2609
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2610
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "e8095864c55b4f23284c20728c8fb0968782badbb9b68e7951df8dbbfc0a8353"], ["email", "demo@example.com"], ["salt", "51bcc17831674807b82a5c9fcba44e83fd07ccffb72ed8c89220b21491965468"], ["created_at", "2015-12-23 09:06:57.379383"], ["updated_at", "2015-12-23 09:06:57.379383"]]
|
2611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2612
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2613
|
+
Processing by MyForum::UsersController#update as HTML
|
2614
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
2615
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2616
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2617
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2618
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2620
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.387933' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2622
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2623
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2624
|
+
Unpermitted parameter: new_password
|
2625
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2626
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2627
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2628
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2630
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
2631
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2632
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "18e4595356fb505ef01cc36e4386c8387bc815dd39a16f7d30a421824f411e7d"], ["salt", "6c364858d10d3ab471250f03d489f4c6efbab535b718f6745b89b5ffa70b7cef"], ["updated_at", "2015-12-23 09:06:57.393417"], ["id", 2]]
|
2633
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2634
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2635
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2636
|
+
Unpermitted parameter: password
|
2637
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2638
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2639
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2640
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2641
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.2ms)
|
2642
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2643
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2644
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2646
|
+
Processing by MyForum::UsersController#create as HTML
|
2647
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
2648
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
2649
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
2650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2651
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
2652
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
2653
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "948d838127722b29131714d003c630eda52995a5af82b951dc0bc27db8e272a3"], ["salt", "23d3db80b406a221e51f8a9c0c6c6c369da0fba152fb74700e5b939fb547b42c"], ["created_at", "2015-12-23 09:06:57.409666"], ["updated_at", "2015-12-23 09:06:57.409666"]]
|
2654
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:06:57.410847"], ["updated_at", "2015-12-23 09:06:57.410847"]]
|
2655
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2656
|
+
Redirected to http://test.host/my_forum/
|
2657
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
2658
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
2659
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2661
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2664
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
2665
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
2666
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "807c033e7449f0bdc337e427854bfd77e5c2ac44cdf4cae13d5bf709b2abab93"], ["salt", "287662fecd23680c3912af20a2fd83d5f13d0d8f3938a41c0b5df2c64c21575f"], ["created_at", "2015-12-23 09:06:57.420432"], ["updated_at", "2015-12-23 09:06:57.420432"]]
|
2667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2668
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2669
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2670
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2672
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2673
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2674
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "bf4ba41f1f02d9bbd662f2aede1175647af9c0d693c96572b4bd0414a75d0319"], ["email", "demo@example.com"], ["salt", "297bb7d688e7dea2fcb993842ceedacfdf94cc43aca13ba47d6d73d6bfc8dc97"], ["created_at", "2015-12-23 09:08:13.893091"], ["updated_at", "2015-12-23 09:08:13.893091"]]
|
2675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2676
|
+
Processing by MyForum::UsersController#signin as HTML
|
2677
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
2678
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
2679
|
+
Redirected to http://test.host/my_forum/
|
2680
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
2681
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2682
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2683
|
+
Processing by MyForum::UsersController#signin as HTML
|
2684
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
2685
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
2686
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
2687
|
+
Completed 200 OK in 15ms (Views: 8.0ms | ActiveRecord: 0.1ms)
|
2688
|
+
Processing by MyForum::UsersController#signin as HTML
|
2689
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
2690
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
2691
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
2692
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
2693
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2696
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2697
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2698
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "bf4ba41f1f02d9bbd662f2aede1175647af9c0d693c96572b4bd0414a75d0319"], ["email", "demo@example.com"], ["salt", "297bb7d688e7dea2fcb993842ceedacfdf94cc43aca13ba47d6d73d6bfc8dc97"], ["created_at", "2015-12-23 09:08:13.939273"], ["updated_at", "2015-12-23 09:08:13.939273"]]
|
2699
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2700
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
2701
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
2702
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2703
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
2704
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
2705
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2706
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2707
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2708
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2709
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:13.967551' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2710
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2711
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
2712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2713
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2714
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
2715
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "8bda99a34f2ff4c78405ff8bb642ed3fd353b9e57de7b19a8c3eb8d3b89cb7f9"], ["salt", "ac859e5dd28cf8570d6469878e31e2fcb8ef7925d9165c4085adb88229f3de59"], ["updated_at", "2015-12-23 09:08:13.977647"], ["id", 2]]
|
2716
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2717
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.9ms)
|
2718
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.6ms)
|
2719
|
+
|
2720
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 111.8ms
|
2721
|
+
|
2722
|
+
Sent mail to demo@example.com (4.2ms)
|
2723
|
+
Date: Wed, 23 Dec 2015 11:08:14 +0200
|
2724
|
+
From: from@example.com
|
2725
|
+
To: demo@example.com
|
2726
|
+
Message-ID: <567a647e15ec6_71f83fdcad45e20481722@Vitalys-MacBook-Pro.local.mail>
|
2727
|
+
Subject: vaz.od.ua - New password
|
2728
|
+
Mime-Version: 1.0
|
2729
|
+
Content-Type: multipart/alternative;
|
2730
|
+
boundary="--==_mimepart_567a647e1529d_71f83fdcad45e20481662";
|
2731
|
+
charset=UTF-8
|
2732
|
+
Content-Transfer-Encoding: 7bit
|
2733
|
+
|
2734
|
+
|
2735
|
+
----==_mimepart_567a647e1529d_71f83fdcad45e20481662
|
2736
|
+
Content-Type: text/plain;
|
2737
|
+
charset=UTF-8
|
2738
|
+
Content-Transfer-Encoding: 7bit
|
2739
|
+
|
2740
|
+
Your new password is: vsghpICByV
|
2741
|
+
|
2742
|
+
----==_mimepart_567a647e1529d_71f83fdcad45e20481662
|
2743
|
+
Content-Type: text/html;
|
2744
|
+
charset=UTF-8
|
2745
|
+
Content-Transfer-Encoding: 7bit
|
2746
|
+
|
2747
|
+
<html>
|
2748
|
+
<body>
|
2749
|
+
Your new password is: vsghpICByV
|
2750
|
+
|
2751
|
+
</body>
|
2752
|
+
</html>
|
2753
|
+
|
2754
|
+
----==_mimepart_567a647e1529d_71f83fdcad45e20481662--
|
2755
|
+
|
2756
|
+
Redirected to http://test.host/my_forum/
|
2757
|
+
Completed 302 Found in 150ms (ActiveRecord: 1.3ms)
|
2758
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2759
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2760
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
2761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2762
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2763
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2764
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "7de902d0dfa4f18c1e536298efc9d5371793d17f1976269c95d6c4394ba8957d"], ["email", "demo@example.com"], ["salt", "9417def411a8113fc33f56897ec5e3c07d58cec3c6fed45e1fd68c3a11a2bd7a"], ["created_at", "2015-12-23 09:08:14.099476"], ["updated_at", "2015-12-23 09:08:14.099476"]]
|
2766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2767
|
+
Processing by MyForum::UsersController#update as HTML
|
2768
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2769
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2770
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2771
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2772
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2774
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.105591' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2776
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2777
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2778
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2779
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2780
|
+
Unpermitted parameter: password
|
2781
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2782
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2783
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2784
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2785
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
2786
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2787
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2788
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2791
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2792
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2793
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "7de902d0dfa4f18c1e536298efc9d5371793d17f1976269c95d6c4394ba8957d"], ["email", "demo@example.com"], ["salt", "9417def411a8113fc33f56897ec5e3c07d58cec3c6fed45e1fd68c3a11a2bd7a"], ["created_at", "2015-12-23 09:08:14.115780"], ["updated_at", "2015-12-23 09:08:14.115780"]]
|
2794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2795
|
+
Processing by MyForum::UsersController#update as HTML
|
2796
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2797
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2798
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2799
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2800
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2802
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.121575' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2804
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2805
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2806
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2807
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2808
|
+
Unpermitted parameter: password
|
2809
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2810
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2811
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2812
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2813
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
2814
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2815
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2818
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
2819
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
2820
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "7de902d0dfa4f18c1e536298efc9d5371793d17f1976269c95d6c4394ba8957d"], ["email", "demo@example.com"], ["salt", "9417def411a8113fc33f56897ec5e3c07d58cec3c6fed45e1fd68c3a11a2bd7a"], ["created_at", "2015-12-23 09:08:14.131697"], ["updated_at", "2015-12-23 09:08:14.131697"]]
|
2821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2822
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2823
|
+
Processing by MyForum::UsersController#update as HTML
|
2824
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
2825
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2826
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2827
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2828
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2830
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.138379' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2831
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2832
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2833
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2834
|
+
Unpermitted parameter: new_password
|
2835
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2836
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2837
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2838
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2840
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
2841
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2842
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "0783f2da2b2a000b013e7ef08ecd48065c68170fa2450276828282d14d3d3edf"], ["salt", "26ba3c8b1442ef0471479ac6e366612bcd2fc42e0a7aeb415ca4a75cf66da322"], ["updated_at", "2015-12-23 09:08:14.143905"], ["id", 2]]
|
2843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2844
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2845
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2846
|
+
Unpermitted parameter: password
|
2847
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
2848
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2849
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2850
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2851
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.3ms)
|
2852
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2853
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2854
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2856
|
+
Processing by MyForum::UsersController#create as HTML
|
2857
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
2858
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
2859
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
2860
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2861
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
2862
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
2863
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "59c81307a728e360a2ef63b0e3ee83afc346d4527d9489cd1baa581bef8ef35d"], ["salt", "df6ed8e8246a4eaab7a7011e23f44419a802f81474ae0adca34bf572cd96ab41"], ["created_at", "2015-12-23 09:08:14.163267"], ["updated_at", "2015-12-23 09:08:14.163267"]]
|
2864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:08:14.164424"], ["updated_at", "2015-12-23 09:08:14.164424"]]
|
2865
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2866
|
+
Redirected to http://test.host/my_forum/
|
2867
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
|
2868
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
2869
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2871
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2874
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
2875
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
2876
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "96b7852a0e8345c815b31fe611aebd1336b3ad00e21d63f34019753759dd9a5b"], ["salt", "6eaeebbd709a45b00310cf0be34d21a5e8318b37984472516c06ea9e0d8af62a"], ["created_at", "2015-12-23 09:08:14.172400"], ["updated_at", "2015-12-23 09:08:14.172400"]]
|
2877
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2878
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2879
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2880
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2882
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2883
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2884
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "c4d334a5883e4d7c367c5174b025c93c801763c3490a18cdb49a224e81843c57"], ["email", "demo@example.com"], ["salt", "b9513c095989a6d8f4b22604cc6df8cf749e44da8e5e32fb18dc143226705d35"], ["created_at", "2015-12-23 09:16:16.307503"], ["updated_at", "2015-12-23 09:16:16.307503"]]
|
2885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2886
|
+
Processing by MyForum::UsersController#signin as HTML
|
2887
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
2888
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
2889
|
+
Redirected to http://test.host/my_forum/
|
2890
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
2891
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
2892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2893
|
+
Processing by MyForum::UsersController#signin as HTML
|
2894
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
2895
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
2896
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
2897
|
+
Completed 200 OK in 15ms (Views: 9.6ms | ActiveRecord: 0.1ms)
|
2898
|
+
Processing by MyForum::UsersController#signin as HTML
|
2899
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
2900
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
2901
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
2902
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2903
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2904
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2905
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2906
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2907
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2908
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "c4d334a5883e4d7c367c5174b025c93c801763c3490a18cdb49a224e81843c57"], ["email", "demo@example.com"], ["salt", "b9513c095989a6d8f4b22604cc6df8cf749e44da8e5e32fb18dc143226705d35"], ["created_at", "2015-12-23 09:16:16.352178"], ["updated_at", "2015-12-23 09:16:16.352178"]]
|
2909
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2910
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
2911
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
2912
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2913
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
2914
|
+
[1m[35mMyForum::UserGroup Load (0.2ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
2915
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2916
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2917
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2919
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.386233' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2920
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2921
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
2922
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2923
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
2924
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
2925
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "f27ae392ebae5553b5b121841c46b516c5fb07b3e160d4ca93115776ee21e951"], ["salt", "52060adc47a0ffe6729dd282b2f47e457425e2f2864f009e6474e36fb59a0e7d"], ["updated_at", "2015-12-23 09:16:16.398235"], ["id", 2]]
|
2926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2927
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (0.8ms)
|
2928
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.6ms)
|
2929
|
+
|
2930
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 110.8ms
|
2931
|
+
|
2932
|
+
Sent mail to demo@example.com (4.1ms)
|
2933
|
+
Date: Wed, 23 Dec 2015 11:16:16 +0200
|
2934
|
+
From: from@example.com
|
2935
|
+
To: demo@example.com
|
2936
|
+
Message-ID: <567a66607c3ed_72b93fd7950521f094830@Vitalys-MacBook-Pro.local.mail>
|
2937
|
+
Subject: vaz.od.ua - New password
|
2938
|
+
Mime-Version: 1.0
|
2939
|
+
Content-Type: multipart/alternative;
|
2940
|
+
boundary="--==_mimepart_567a66607b8a6_72b93fd7950521f09479b";
|
2941
|
+
charset=UTF-8
|
2942
|
+
Content-Transfer-Encoding: 7bit
|
2943
|
+
|
2944
|
+
|
2945
|
+
----==_mimepart_567a66607b8a6_72b93fd7950521f09479b
|
2946
|
+
Content-Type: text/plain;
|
2947
|
+
charset=UTF-8
|
2948
|
+
Content-Transfer-Encoding: 7bit
|
2949
|
+
|
2950
|
+
Your new password is: TFXGvBjDnx
|
2951
|
+
|
2952
|
+
----==_mimepart_567a66607b8a6_72b93fd7950521f09479b
|
2953
|
+
Content-Type: text/html;
|
2954
|
+
charset=UTF-8
|
2955
|
+
Content-Transfer-Encoding: 7bit
|
2956
|
+
|
2957
|
+
<html>
|
2958
|
+
<body>
|
2959
|
+
Your new password is: TFXGvBjDnx
|
2960
|
+
|
2961
|
+
</body>
|
2962
|
+
</html>
|
2963
|
+
|
2964
|
+
----==_mimepart_567a66607b8a6_72b93fd7950521f09479b--
|
2965
|
+
|
2966
|
+
Redirected to http://test.host/my_forum/
|
2967
|
+
Completed 302 Found in 157ms (ActiveRecord: 1.8ms)
|
2968
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2969
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2970
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
2971
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2973
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
2974
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
2975
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "c4d334a5883e4d7c367c5174b025c93c801763c3490a18cdb49a224e81843c57"], ["email", "demo@example.com"], ["salt", "b9513c095989a6d8f4b22604cc6df8cf749e44da8e5e32fb18dc143226705d35"], ["created_at", "2015-12-23 09:16:16.518820"], ["updated_at", "2015-12-23 09:16:16.518820"]]
|
2976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2977
|
+
Processing by MyForum::UsersController#update as HTML
|
2978
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
2979
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2980
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2981
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2982
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2983
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2984
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.525162' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2986
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2987
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2988
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
2989
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
2990
|
+
Unpermitted parameter: password
|
2991
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
2992
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
2993
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
2994
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
2995
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
2996
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
2997
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
2998
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3001
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3002
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3003
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "c4d334a5883e4d7c367c5174b025c93c801763c3490a18cdb49a224e81843c57"], ["email", "demo@example.com"], ["salt", "b9513c095989a6d8f4b22604cc6df8cf749e44da8e5e32fb18dc143226705d35"], ["created_at", "2015-12-23 09:16:16.535569"], ["updated_at", "2015-12-23 09:16:16.535569"]]
|
3004
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3005
|
+
Processing by MyForum::UsersController#update as HTML
|
3006
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3007
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3008
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3009
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3010
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3011
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3012
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.541443' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3013
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3014
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3015
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3016
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3017
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3018
|
+
Unpermitted parameter: password
|
3019
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3020
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3021
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3022
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3023
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
3024
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3025
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3028
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3029
|
+
[1m[35mMyForum::User Exists (0.5ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3030
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "c4d334a5883e4d7c367c5174b025c93c801763c3490a18cdb49a224e81843c57"], ["email", "demo@example.com"], ["salt", "b9513c095989a6d8f4b22604cc6df8cf749e44da8e5e32fb18dc143226705d35"], ["created_at", "2015-12-23 09:16:16.553281"], ["updated_at", "2015-12-23 09:16:16.553281"]]
|
3031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3032
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3033
|
+
Processing by MyForum::UsersController#update as HTML
|
3034
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
3035
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3036
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3037
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3038
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3040
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.561225' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3041
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3042
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3043
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3044
|
+
Unpermitted parameter: new_password
|
3045
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3046
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3047
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3048
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3050
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
3051
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3052
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "96c0bf80dfedd940a50364fa6bf4a0783837bd120d3b8e6e576fed3d154f4c62"], ["salt", "022a761acd595f967e1be65cf3a9e8ad8bffbf8bd64873414f9e5cc51ca590fc"], ["updated_at", "2015-12-23 09:16:16.567427"], ["id", 2]]
|
3053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3054
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3055
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3056
|
+
Unpermitted parameter: password
|
3057
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3058
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3059
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3060
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3061
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.3ms)
|
3062
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3063
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3064
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3066
|
+
Processing by MyForum::UsersController#create as HTML
|
3067
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
3068
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
3069
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
3070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3071
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
3072
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
3073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "f2b24189fb0ea5795bbea6da4e66e465eb0c327091b24012280a7a83b69066db"], ["salt", "3516d90390709cc4b358145b4add962ecebdbbd8d6cade27653a708be8555cec"], ["created_at", "2015-12-23 09:16:16.583926"], ["updated_at", "2015-12-23 09:16:16.583926"]]
|
3074
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:16:16.585249"], ["updated_at", "2015-12-23 09:16:16.585249"]]
|
3075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3076
|
+
Redirected to http://test.host/my_forum/
|
3077
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
|
3078
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
3079
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3081
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3084
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
3085
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
3086
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "df304ecabc0188113a0442ce8b4195a785d383122c6d3b72b5e61ccd2f2b1055"], ["salt", "097f472f57fe7c6e958ba581e67bde70b8b2c64edb7c5cd732d517bf767df6f7"], ["created_at", "2015-12-23 09:16:16.594704"], ["updated_at", "2015-12-23 09:16:16.594704"]]
|
3087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3088
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3089
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3090
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3093
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3094
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3095
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a1e1e679ef39d7e3c9580e13f16e8781faa6c137d8a698693ee5f86150ebc9dc"], ["email", "demo@example.com"], ["salt", "e056951ff45f858c8832463a04192e22a663acc6470827f414442b8b9afd3e44"], ["created_at", "2015-12-23 09:16:40.628302"], ["updated_at", "2015-12-23 09:16:40.628302"]]
|
3096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3097
|
+
Processing by MyForum::UsersController#signin as HTML
|
3098
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
3099
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
3100
|
+
Redirected to http://test.host/my_forum/
|
3101
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
3102
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
3103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3104
|
+
Processing by MyForum::UsersController#signin as HTML
|
3105
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
3106
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
3107
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
3108
|
+
Completed 200 OK in 15ms (Views: 8.1ms | ActiveRecord: 0.1ms)
|
3109
|
+
Processing by MyForum::UsersController#signin as HTML
|
3110
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
3111
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
3112
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
3113
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3114
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3117
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3118
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a1e1e679ef39d7e3c9580e13f16e8781faa6c137d8a698693ee5f86150ebc9dc"], ["email", "demo@example.com"], ["salt", "e056951ff45f858c8832463a04192e22a663acc6470827f414442b8b9afd3e44"], ["created_at", "2015-12-23 09:16:40.671519"], ["updated_at", "2015-12-23 09:16:40.671519"]]
|
3120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3121
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
3122
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
3123
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3124
|
+
[1m[36mMyForum::UserGroup Load (0.2ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
3125
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
3126
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3127
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3128
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3130
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.698159' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3132
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
3133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3134
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3135
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
3136
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "5a750abe77a0e4cb6cbe1680d839650c964160248e682efaa7378870d129138c"], ["salt", "d228a42b3a2d807dcc479731207f39e8b494a3be83740f047a7e7e50483f4352"], ["updated_at", "2015-12-23 09:16:40.709286"], ["id", 2]]
|
3137
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3138
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.1ms)
|
3139
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
3140
|
+
|
3141
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 123.4ms
|
3142
|
+
|
3143
|
+
Sent mail to demo@example.com (4.0ms)
|
3144
|
+
Date: Wed, 23 Dec 2015 11:16:40 +0200
|
3145
|
+
From: from@example.com
|
3146
|
+
To: demo@example.com
|
3147
|
+
Message-ID: <567a6678cb1b2_72ee3ff45205e20046575@Vitalys-MacBook-Pro.local.mail>
|
3148
|
+
Subject: vaz.od.ua - New password
|
3149
|
+
Mime-Version: 1.0
|
3150
|
+
Content-Type: multipart/alternative;
|
3151
|
+
boundary="--==_mimepart_567a6678ca698_72ee3ff45205e2004644f";
|
3152
|
+
charset=UTF-8
|
3153
|
+
Content-Transfer-Encoding: 7bit
|
3154
|
+
|
3155
|
+
|
3156
|
+
----==_mimepart_567a6678ca698_72ee3ff45205e2004644f
|
3157
|
+
Content-Type: text/plain;
|
3158
|
+
charset=UTF-8
|
3159
|
+
Content-Transfer-Encoding: 7bit
|
3160
|
+
|
3161
|
+
Your new password is: wWIahBnNQV
|
3162
|
+
|
3163
|
+
----==_mimepart_567a6678ca698_72ee3ff45205e2004644f
|
3164
|
+
Content-Type: text/html;
|
3165
|
+
charset=UTF-8
|
3166
|
+
Content-Transfer-Encoding: 7bit
|
3167
|
+
|
3168
|
+
<html>
|
3169
|
+
<body>
|
3170
|
+
Your new password is: wWIahBnNQV
|
3171
|
+
|
3172
|
+
</body>
|
3173
|
+
</html>
|
3174
|
+
|
3175
|
+
----==_mimepart_567a6678ca698_72ee3ff45205e2004644f--
|
3176
|
+
|
3177
|
+
Redirected to http://test.host/my_forum/
|
3178
|
+
Completed 302 Found in 160ms (ActiveRecord: 1.6ms)
|
3179
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3180
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3181
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
3182
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3183
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3184
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3185
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3186
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a1e1e679ef39d7e3c9580e13f16e8781faa6c137d8a698693ee5f86150ebc9dc"], ["email", "demo@example.com"], ["salt", "e056951ff45f858c8832463a04192e22a663acc6470827f414442b8b9afd3e44"], ["created_at", "2015-12-23 09:16:40.841458"], ["updated_at", "2015-12-23 09:16:40.841458"]]
|
3187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3188
|
+
Processing by MyForum::UsersController#update as HTML
|
3189
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3190
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3191
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3192
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3193
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3195
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.849262' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3197
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3198
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3199
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3200
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3201
|
+
Unpermitted parameter: password
|
3202
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3203
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3204
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3205
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3206
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
|
3207
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3208
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3209
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3212
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3213
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3214
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a1e1e679ef39d7e3c9580e13f16e8781faa6c137d8a698693ee5f86150ebc9dc"], ["email", "demo@example.com"], ["salt", "e056951ff45f858c8832463a04192e22a663acc6470827f414442b8b9afd3e44"], ["created_at", "2015-12-23 09:16:40.861754"], ["updated_at", "2015-12-23 09:16:40.861754"]]
|
3215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3216
|
+
Processing by MyForum::UsersController#update as HTML
|
3217
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3218
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3219
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3220
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3221
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3223
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.874517' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3225
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3226
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3227
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3228
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3229
|
+
Unpermitted parameter: password
|
3230
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3231
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3232
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3233
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3234
|
+
Completed 302 Found in 16ms (ActiveRecord: 1.3ms)
|
3235
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3236
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3239
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3240
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a1e1e679ef39d7e3c9580e13f16e8781faa6c137d8a698693ee5f86150ebc9dc"], ["email", "demo@example.com"], ["salt", "e056951ff45f858c8832463a04192e22a663acc6470827f414442b8b9afd3e44"], ["created_at", "2015-12-23 09:16:40.885435"], ["updated_at", "2015-12-23 09:16:40.885435"]]
|
3242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3243
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3244
|
+
Processing by MyForum::UsersController#update as HTML
|
3245
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
3246
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3247
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3248
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3249
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3251
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.891498' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3252
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3253
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3254
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3255
|
+
Unpermitted parameter: new_password
|
3256
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3257
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3258
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3259
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3261
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
3262
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3263
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "09bc9fe836b163f9d11727071ee5d517e4fc495104e92158924ef093e5163145"], ["salt", "6f5bace4455ed9b75086b6c8026e7f621bcc9fbd8e1cc7c97e78caae967efdf5"], ["updated_at", "2015-12-23 09:16:40.899168"], ["id", 2]]
|
3264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3265
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3266
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3267
|
+
Unpermitted parameter: password
|
3268
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3269
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3270
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3271
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3272
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.7ms)
|
3273
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3274
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3275
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3277
|
+
Processing by MyForum::UsersController#create as HTML
|
3278
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
3279
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
3280
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
3281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3282
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
3283
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
3284
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "2b0b67d3f663544283b557a6a3f64d652bb642cbcccd77f616760cebf954a471"], ["salt", "02baba6b210810f7df6300352bef26ee48bf5e23a86dca2e599622b6d30c36a1"], ["created_at", "2015-12-23 09:16:40.918714"], ["updated_at", "2015-12-23 09:16:40.918714"]]
|
3285
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:16:40.919936"], ["updated_at", "2015-12-23 09:16:40.919936"]]
|
3286
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3287
|
+
Redirected to http://test.host/my_forum/
|
3288
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.8ms)
|
3289
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
3290
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3292
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3294
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3295
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
3296
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
3297
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "48f727a459fcbf7fa854a7002d9168c1d8b338397f6229d5eec63b9a95e53fd9"], ["salt", "fb437695201410a2b023cadd5f940d928c3fc1c843b514ba2f736eddc9cd2375"], ["created_at", "2015-12-23 09:16:40.930290"], ["updated_at", "2015-12-23 09:16:40.930290"]]
|
3298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3299
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3300
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3302
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3303
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3304
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3305
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "46b631b80884ba9a14ac015bba389e99730179ce7e7d05ae58a799909591ea25"], ["email", "demo@example.com"], ["salt", "ea5265c9415075644ac00f533a568a15efbd76c39967b8b0ee6fa7a2060e40be"], ["created_at", "2015-12-23 09:17:00.890136"], ["updated_at", "2015-12-23 09:17:00.890136"]]
|
3306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3307
|
+
Processing by MyForum::UsersController#signin as HTML
|
3308
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
3309
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
3310
|
+
Redirected to http://test.host/my_forum/
|
3311
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
3312
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
3313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3314
|
+
Processing by MyForum::UsersController#signin as HTML
|
3315
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
3316
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
3317
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
3318
|
+
Completed 200 OK in 15ms (Views: 8.1ms | ActiveRecord: 0.1ms)
|
3319
|
+
Processing by MyForum::UsersController#signin as HTML
|
3320
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
3321
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
3322
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
3323
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
3324
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3327
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3328
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3329
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "46b631b80884ba9a14ac015bba389e99730179ce7e7d05ae58a799909591ea25"], ["email", "demo@example.com"], ["salt", "ea5265c9415075644ac00f533a568a15efbd76c39967b8b0ee6fa7a2060e40be"], ["created_at", "2015-12-23 09:17:00.938104"], ["updated_at", "2015-12-23 09:17:00.938104"]]
|
3330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3331
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
3332
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
3333
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3334
|
+
[1m[36mMyForum::UserGroup Load (0.1ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
3335
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
3336
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3337
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3338
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3339
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3340
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:00.964265' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3342
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
3343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3344
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3345
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
3346
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "b4fd25ac21db3ce9efe434d23bca40d2d46748cf329c02927112f080fab88f68"], ["salt", "dbaf82ddf76ff5081a695b6fe1d0488159d1e66677b645ed7472a1d8ae1ec19e"], ["updated_at", "2015-12-23 09:17:00.977001"], ["id", 2]]
|
3347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3348
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.0ms)
|
3349
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.7ms)
|
3350
|
+
|
3351
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 131.7ms
|
3352
|
+
|
3353
|
+
Sent mail to demo@example.com (5.8ms)
|
3354
|
+
Date: Wed, 23 Dec 2015 11:17:01 +0200
|
3355
|
+
From: from@example.com
|
3356
|
+
To: demo@example.com
|
3357
|
+
Message-ID: <567a668d1a2dc_730d3ff81085e204481d4@Vitalys-MacBook-Pro.local.mail>
|
3358
|
+
Subject: vaz.od.ua - New password
|
3359
|
+
Mime-Version: 1.0
|
3360
|
+
Content-Type: multipart/alternative;
|
3361
|
+
boundary="--==_mimepart_567a668d196bd_730d3ff81085e20448084";
|
3362
|
+
charset=UTF-8
|
3363
|
+
Content-Transfer-Encoding: 7bit
|
3364
|
+
|
3365
|
+
|
3366
|
+
----==_mimepart_567a668d196bd_730d3ff81085e20448084
|
3367
|
+
Content-Type: text/plain;
|
3368
|
+
charset=UTF-8
|
3369
|
+
Content-Transfer-Encoding: 7bit
|
3370
|
+
|
3371
|
+
Your new password is: TgHbTXllDi
|
3372
|
+
|
3373
|
+
----==_mimepart_567a668d196bd_730d3ff81085e20448084
|
3374
|
+
Content-Type: text/html;
|
3375
|
+
charset=UTF-8
|
3376
|
+
Content-Transfer-Encoding: 7bit
|
3377
|
+
|
3378
|
+
<html>
|
3379
|
+
<body>
|
3380
|
+
Your new password is: TgHbTXllDi
|
3381
|
+
|
3382
|
+
</body>
|
3383
|
+
</html>
|
3384
|
+
|
3385
|
+
----==_mimepart_567a668d196bd_730d3ff81085e20448084--
|
3386
|
+
|
3387
|
+
Redirected to http://test.host/my_forum/
|
3388
|
+
Completed 302 Found in 171ms (ActiveRecord: 1.6ms)
|
3389
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3390
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3391
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
3392
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3394
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3395
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3396
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "3d783267d72419c42e919dbbc819212e57b22909effa3ac9ef31f4a60063b6da"], ["email", "demo@example.com"], ["salt", "763c03b25782370f795377e61be4ec7a3bb0aca086505709c4c1929b305382e6"], ["created_at", "2015-12-23 09:17:01.119976"], ["updated_at", "2015-12-23 09:17:01.119976"]]
|
3397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3398
|
+
Processing by MyForum::UsersController#update as HTML
|
3399
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3400
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3401
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3402
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3403
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3405
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.126938' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3407
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3408
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3409
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3410
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3411
|
+
Unpermitted parameter: password
|
3412
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3413
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3414
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3415
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3416
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
3417
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3418
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3419
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3422
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3423
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3424
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "3d783267d72419c42e919dbbc819212e57b22909effa3ac9ef31f4a60063b6da"], ["email", "demo@example.com"], ["salt", "763c03b25782370f795377e61be4ec7a3bb0aca086505709c4c1929b305382e6"], ["created_at", "2015-12-23 09:17:01.137674"], ["updated_at", "2015-12-23 09:17:01.137674"]]
|
3425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3426
|
+
Processing by MyForum::UsersController#update as HTML
|
3427
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3428
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3429
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3430
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3431
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3433
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.143618' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3435
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3436
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3437
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3438
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3439
|
+
Unpermitted parameter: password
|
3440
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3441
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3442
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3443
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3444
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
|
3445
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3446
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3449
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3450
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3451
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "3d783267d72419c42e919dbbc819212e57b22909effa3ac9ef31f4a60063b6da"], ["email", "demo@example.com"], ["salt", "763c03b25782370f795377e61be4ec7a3bb0aca086505709c4c1929b305382e6"], ["created_at", "2015-12-23 09:17:01.154906"], ["updated_at", "2015-12-23 09:17:01.154906"]]
|
3452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3453
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3454
|
+
Processing by MyForum::UsersController#update as HTML
|
3455
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
3456
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3457
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3458
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3459
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3460
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3461
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.163800' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3463
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3464
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3465
|
+
Unpermitted parameter: new_password
|
3466
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3467
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3468
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3469
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3471
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
3472
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3473
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "f0fa646b76c301fa59370f66fdb9a82374346540260c0a2724b9983ee833f2b3"], ["salt", "a6a84bb639f6a660a0cbdf5469be44dc3e2dec9789b41cedb1d9f683c7a38b6b"], ["updated_at", "2015-12-23 09:17:01.169657"], ["id", 2]]
|
3474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3475
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3476
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3477
|
+
Unpermitted parameter: password
|
3478
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3479
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3480
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3481
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3482
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.3ms)
|
3483
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3484
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3485
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3487
|
+
Processing by MyForum::UsersController#create as HTML
|
3488
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
3489
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
3490
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
3491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3492
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
3493
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
3494
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "7591ddc55535b2d08e593fa020ed324813416f0457b00eb15f48ca2450af9881"], ["salt", "b0395fcfc41af20d1a1c9d50468646fbb8294cc466a41803c480d0a0454994e1"], ["created_at", "2015-12-23 09:17:01.187064"], ["updated_at", "2015-12-23 09:17:01.187064"]]
|
3495
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 09:17:01.188349"], ["updated_at", "2015-12-23 09:17:01.188349"]]
|
3496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3497
|
+
Redirected to http://test.host/my_forum/
|
3498
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
|
3499
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
3500
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3502
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3505
|
+
[1m[36mMyForum::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
3506
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
3507
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "e607975fb5beeacf7cf60407e50717ea1935508afc4640d56f31a9a3eb55a96e"], ["salt", "a7958c11437416ef8d04b3cb74abd978e4422f90c9a50e42d83713593893c43a"], ["created_at", "2015-12-23 09:17:01.197412"], ["updated_at", "2015-12-23 09:17:01.197412"]]
|
3508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3509
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|