my_forum 0.0.1.beta32 → 0.0.1.beta33

Sign up to get free protection for your applications and to get access to all the features.
@@ -217,3 +217,3293 @@ Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
217
217
  SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "ef806c1a30e8af9c7802b9bd803b3b6e1aae1fe847a1dcfd46eec171b581ae7b"], ["salt", "320528c90278e2667c17d852c6755701198e98abb4d9d6d9cb6df61aa87a7016"], ["created_at", "2015-11-13 12:23:23.479063"], ["updated_at", "2015-11-13 12:23:23.479063"]]
218
218
   (0.0ms) RELEASE SAVEPOINT active_record_1
219
219
   (0.3ms) rollback transaction
220
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
221
+  (1.0ms) CREATE TABLE "my_forum_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) 
222
+  (0.7ms) 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
+  (0.7ms) 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, "updated_at" datetime) 
224
+  (0.6ms) 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
+  (0.7ms) CREATE 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) 
226
+  (0.8ms) 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
+  (0.9ms) CREATE 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) 
228
+  (0.7ms) 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
+  (0.7ms) 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, "updated_at" datetime) 
230
+  (0.6ms) 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
+  (0.8ms) CREATE 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) 
232
+  (0.7ms) 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
+  (0.7ms) CREATE 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) 
234
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
235
+  (0.4ms) select sqlite_version(*)
236
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
237
+  (0.1ms) SELECT version FROM "schema_migrations"
238
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012095554')
239
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
240
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
241
+ Migrating to CreateMyForumForums (20141117122725)
242
+  (0.1ms) begin transaction
243
+  (0.1ms) 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) 
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
+  (0.0ms) rollback transaction
246
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
247
+  (0.1ms) select sqlite_version(*)
248
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
249
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
250
+ Migrating to CreateMyForumForums (20141117122725)
251
+  (0.0ms) begin transaction
252
+  (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141117122725"]]
254
+  (0.7ms) commit transaction
255
+ Migrating to CreateMyForumTopics (20141117122742)
256
+  (0.1ms) begin transaction
257
+  (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141117122742"]]
259
+  (0.7ms) commit transaction
260
+ Migrating to CreateMyForumPosts (20141117122751)
261
+  (0.1ms) begin transaction
262
+  (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141117122751"]]
264
+  (0.5ms) commit transaction
265
+ Migrating to CreateMyForumCategories (20141118081021)
266
+  (0.0ms) begin transaction
267
+  (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141118081021"]]
269
+  (0.7ms) commit transaction
270
+ Migrating to CreateMyForumUsers (20141118131215)
271
+  (0.1ms) begin transaction
272
+  (0.3ms) 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
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'admin' LIMIT 1
274
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'admin@example.com' LIMIT 1
275
+ SQL (0.1ms) INSERT INTO "my_forum_users" ("login", "password", "is_admin", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141118131215"]]
277
+  (0.6ms) commit transaction
278
+ Migrating to CreateMyForumRoles (20141222094522)
279
+  (0.0ms) begin transaction
280
+  (0.2ms) CREATE 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) 
281
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222094522"]]
282
+  (0.5ms) commit transaction
283
+ Migrating to CreateMyForumUserRoles (20141222094538)
284
+  (0.0ms) begin transaction
285
+  (0.2ms) CREATE 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) 
286
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222094538"]]
287
+  (0.6ms) commit transaction
288
+ Migrating to CreateMyForumLogReadMarks (20150202115250)
289
+  (0.0ms) begin transaction
290
+  (0.2ms) CREATE 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) 
291
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150202115250"]]
292
+  (0.5ms) commit transaction
293
+ Migrating to CreateMyForumUserGroups (20150215200453)
294
+  (0.0ms) begin transaction
295
+  (0.2ms) CREATE 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) 
296
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
297
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
298
+ SQL (0.1ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_groups" ("name", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Member"], ["default", "t"], ["created_at", "2015-12-22 14:44:51.999333"], ["updated_at", "2015-12-22 14:44:51.999333"]]
300
+ SQL (0.0ms) 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
+ SQL (0.0ms) INSERT INTO "my_forum_user_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Admin"], ["created_at", "2015-12-22 14:44:52.001058"], ["updated_at", "2015-12-22 14:44:52.001058"]]
302
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215200453"]]
303
+  (0.8ms) commit transaction
304
+ Migrating to CreateMyForumUserGroupLinks (20150215204852)
305
+  (0.0ms) begin transaction
306
+  (0.3ms) CREATE 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) 
307
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215204852"]]
308
+  (0.7ms) commit transaction
309
+ Migrating to CreateMyForumCategoryPermissions (20150215212443)
310
+  (0.0ms) begin transaction
311
+  (0.3ms) 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) 
312
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150215212443"]]
313
+  (0.6ms) commit transaction
314
+ Migrating to CreateMyForumPrivateMessages (20150227210814)
315
+  (0.0ms) begin transaction
316
+  (0.2ms) CREATE 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) 
317
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227210814"]]
318
+  (0.6ms) commit transaction
319
+ Migrating to CreateMyForumImages (20151012095554)
320
+  (0.0ms) begin transaction
321
+  (0.2ms) 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) 
322
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012095554"]]
323
+  (0.6ms) commit transaction
324
+ Migrating to AddIsDeleted (20151218135729)
325
+  (0.0ms) begin transaction
326
+  (0.2ms) ALTER TABLE "my_forum_posts" ADD "is_deleted" boolean DEFAULT 'f'
327
+  (0.2ms) ALTER TABLE "my_forum_topics" ADD "is_deleted" boolean DEFAULT 'f'
328
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151218135729"]]
329
+  (0.6ms) commit transaction
330
+ Migrating to CreateMyForumEmoticons (20151220121140)
331
+  (0.0ms) begin transaction
332
+  (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151220121140"]]
334
+  (0.6ms) commit transaction
335
+ Migrating to MyForumRenameUserAvatar (20151221203243)
336
+  (0.0ms) begin transaction
337
+  (0.4ms) 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
+  (0.1ms) SELECT * FROM "my_forum_users"
339
+  (0.1ms) 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
+  (0.3ms) DROP TABLE "my_forum_users"
341
+  (0.1ms) 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
+  (0.1ms) SELECT * FROM "amy_forum_users"
343
+  (0.0ms) 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
+  (0.3ms) DROP TABLE "amy_forum_users"
345
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151221203243"]]
346
+  (0.7ms) commit transaction
347
+ Migrating to MyForumChangeUserAvatar (20151221205045)
348
+  (0.0ms) begin transaction
349
+  (0.1ms) 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) 
350
+  (0.1ms) SELECT * FROM "my_forum_users"
351
+  (0.1ms) 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)
352
+  (0.2ms) DROP TABLE "my_forum_users"
353
+  (0.1ms) 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" 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) 
354
+  (0.1ms) SELECT * FROM "amy_forum_users"
355
+  (0.1ms) 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)
356
+  (0.1ms) DROP TABLE "amy_forum_users"
357
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151221205045"]]
358
+  (0.7ms) commit transaction
359
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
360
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
361
+  (0.1ms) begin transaction
362
+  (0.1ms) SAVEPOINT active_record_1
363
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
364
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
365
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+ Processing by MyForum::UsersController#signin as HTML
368
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
369
+ MyForum::User Load (0.1ms) 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
+  (0.5ms) rollback transaction
373
+  (0.1ms) begin transaction
374
+ Processing by MyForum::UsersController#signin as HTML
375
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
376
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
385
+  (0.0ms) begin transaction
386
+  (0.0ms) SAVEPOINT active_record_1
387
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
388
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
389
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
391
+ Processing by MyForum::UsersController#forgot_password as HTML
392
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
393
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
395
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
396
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
397
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
399
+  (0.0ms) SAVEPOINT active_record_1
400
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:58.878001' WHERE "my_forum_users"."id" = ? [["id", 2]]
401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
402
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
403
+  (0.1ms) SAVEPOINT active_record_1
404
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
405
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "d5e0be18c7762b150f5b2729047fe78bfe3d7ab217484bd97ea6d28d734f0629"], ["salt", "8c56e8028cb36c0a406b1b303a36889e476710fae66c392897a07e8c24c4550d"], ["updated_at", "2015-12-22 14:44:58.892941"], ["id", 2]]
407
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
450
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
451
+  (0.5ms) rollback transaction
452
+  (0.0ms) begin transaction
453
+  (0.0ms) SAVEPOINT active_record_1
454
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
455
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
456
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
458
+ Processing by MyForum::UsersController#update as HTML
459
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
460
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
462
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
464
+  (0.0ms) SAVEPOINT active_record_1
465
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.055146' WHERE "my_forum_users"."id" = ? [["id", 2]]
466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
467
+ MyForum::User Load (0.0ms) 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]]
468
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
469
+ MyForum::User Load (0.0ms) 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]]
470
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
473
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
475
+ Redirected to http://test.host/my_forum/users/2/edit
476
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
477
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
478
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
479
+  (0.5ms) rollback transaction
480
+  (0.0ms) begin transaction
481
+  (0.0ms) SAVEPOINT active_record_1
482
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
483
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
484
+ SQL (0.1ms) 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.066217"], ["updated_at", "2015-12-22 14:44:59.066217"]]
485
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
489
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
490
+ MyForum::User Load (0.0ms) 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]]
491
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
492
+  (0.0ms) SAVEPOINT active_record_1
493
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.072075' WHERE "my_forum_users"."id" = ? [["id", 2]]
494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
495
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
497
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
499
+ Unpermitted parameter: password
500
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
501
+ MyForum::User Load (0.0ms) 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]]
502
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
506
+  (0.6ms) rollback transaction
507
+  (0.0ms) begin transaction
508
+  (0.0ms) SAVEPOINT active_record_1
509
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
510
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
511
+ SQL (0.2ms) 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.083790"], ["updated_at", "2015-12-22 14:44:59.083790"]]
512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
513
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
518
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
520
+  (0.0ms) SAVEPOINT active_record_1
521
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:44:59.089141' WHERE "my_forum_users"."id" = ? [["id", 2]]
522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
523
+ MyForum::User Load (0.0ms) 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]]
524
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) 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]]
527
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
528
+ MyForum::User Load (0.0ms) 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]]
529
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
532
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
533
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
535
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
537
+ Unpermitted parameter: password
538
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
539
+ MyForum::User Load (0.0ms) 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]]
540
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
544
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
545
+  (0.7ms) rollback transaction
546
+  (0.0ms) begin transaction
547
+ Processing by MyForum::UsersController#create as HTML
548
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
549
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
550
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
551
+  (0.1ms) SAVEPOINT active_record_1
552
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
553
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
554
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
557
+ Redirected to http://test.host/my_forum/
558
+ Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
559
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
560
+  (0.3ms) rollback transaction
561
+  (0.0ms) begin transaction
562
+  (0.0ms) SAVEPOINT active_record_1
563
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
564
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
565
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "a87ccc5034b91bf9b797d90576a631679ac5869d998f3871903ad74b350ae5bb"], ["salt", "6810586a002d8b324dded6d785a34936765fac6c6a4c0d62bd3eee19d3ec6bbd"], ["created_at", "2015-12-22 14:44:59.123059"], ["updated_at", "2015-12-22 14:44:59.123059"]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
567
+  (0.2ms) rollback transaction
568
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
569
+  (0.1ms) begin transaction
570
+  (0.1ms) SAVEPOINT active_record_1
571
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
572
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
573
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+ Processing by MyForum::UsersController#signin as HTML
576
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
577
+ MyForum::User Load (0.2ms) 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
+  (0.9ms) rollback transaction
581
+  (0.1ms) begin transaction
582
+ Processing by MyForum::UsersController#signin as HTML
583
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
584
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+  (0.1ms) rollback transaction
593
+  (0.0ms) begin transaction
594
+  (0.0ms) SAVEPOINT active_record_1
595
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
596
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
597
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
599
+ Processing by MyForum::UsersController#forgot_password as HTML
600
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
601
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
603
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
604
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
605
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
607
+  (0.0ms) SAVEPOINT active_record_1
608
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.156089' WHERE "my_forum_users"."id" = ? [["id", 2]]
609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
610
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
611
+  (0.1ms) SAVEPOINT active_record_1
612
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
613
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "aaf8c4c4762d2a2a639745c3ab8d96da458f49ec59ea1944a728e7fbce792ed6"], ["salt", "3b5e5d273367cf6c4e586268e0b3de4a99833099374a5f814893734178eb8e92"], ["updated_at", "2015-12-22 14:49:25.166910"], ["id", 2]]
615
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
658
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
659
+  (1.2ms) rollback transaction
660
+  (0.0ms) begin transaction
661
+  (0.0ms) SAVEPOINT active_record_1
662
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
663
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
664
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
666
+ Processing by MyForum::UsersController#update as HTML
667
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
668
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
670
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
672
+  (0.0ms) SAVEPOINT active_record_1
673
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.302002' WHERE "my_forum_users"."id" = ? [["id", 2]]
674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
675
+ MyForum::User Load (0.0ms) 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]]
676
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
677
+ MyForum::User Load (0.0ms) 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]]
678
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
681
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
683
+ Redirected to http://test.host/my_forum/users/2/edit
684
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
685
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
686
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
687
+  (0.6ms) rollback transaction
688
+  (0.0ms) begin transaction
689
+  (0.0ms) SAVEPOINT active_record_1
690
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
691
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
692
+ SQL (0.2ms) 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.312747"], ["updated_at", "2015-12-22 14:49:25.312747"]]
693
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
697
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
698
+ MyForum::User Load (0.0ms) 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]]
699
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
700
+  (0.0ms) SAVEPOINT active_record_1
701
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.318936' WHERE "my_forum_users"."id" = ? [["id", 2]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
705
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
707
+ Unpermitted parameter: password
708
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
709
+ MyForum::User Load (0.0ms) 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]]
710
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
714
+  (0.6ms) rollback transaction
715
+  (0.0ms) begin transaction
716
+  (0.0ms) SAVEPOINT active_record_1
717
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
718
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
719
+ SQL (0.2ms) 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.328806"], ["updated_at", "2015-12-22 14:49:25.328806"]]
720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
721
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
726
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
728
+  (0.0ms) SAVEPOINT active_record_1
729
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:49:25.336328' WHERE "my_forum_users"."id" = ? [["id", 2]]
730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
731
+ MyForum::User Load (0.0ms) 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]]
732
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
735
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
736
+ MyForum::User Load (0.0ms) 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]]
737
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
738
+  (0.0ms) SAVEPOINT active_record_1
739
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
740
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
741
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
743
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
745
+ Unpermitted parameter: password
746
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
747
+ MyForum::User Load (0.0ms) 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]]
748
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
752
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
753
+  (0.6ms) rollback transaction
754
+  (0.0ms) begin transaction
755
+ Processing by MyForum::UsersController#create as HTML
756
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
757
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
758
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
759
+  (0.0ms) SAVEPOINT active_record_1
760
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
761
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
762
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
765
+ Redirected to http://test.host/my_forum/
766
+ Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
767
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
768
+  (0.4ms) rollback transaction
769
+  (0.0ms) begin transaction
770
+  (0.1ms) rollback transaction
771
+  (0.1ms) begin transaction
772
+  (0.0ms) SAVEPOINT active_record_1
773
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
774
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
775
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "e9a7cb1a7732c886aa3b61e3fc1798225f7a31e594474eb4cd7546f61455066c"], ["salt", "fe4e0633a72d809fcb5d73b4e08478b22add3753a687e0a9b86f5289c781542b"], ["created_at", "2015-12-22 14:51:19.119074"], ["updated_at", "2015-12-22 14:51:19.119074"]]
776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
777
+  (0.3ms) rollback transaction
778
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
779
+  (0.1ms) begin transaction
780
+  (0.0ms) SAVEPOINT active_record_1
781
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
782
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
783
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
785
+ Processing by MyForum::UsersController#signin as HTML
786
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
787
+ MyForum::User Load (0.2ms) 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
+  (0.9ms) rollback transaction
791
+  (0.0ms) begin transaction
792
+ Processing by MyForum::UsersController#signin as HTML
793
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
794
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
803
+  (0.0ms) begin transaction
804
+  (0.0ms) SAVEPOINT active_record_1
805
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
806
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
807
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
809
+ Processing by MyForum::UsersController#forgot_password as HTML
810
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
811
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
813
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
814
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
815
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
817
+  (0.0ms) SAVEPOINT active_record_1
818
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.281984' WHERE "my_forum_users"."id" = ? [["id", 2]]
819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
820
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
821
+  (0.0ms) SAVEPOINT active_record_1
822
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
823
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "09555df09485acc4285aa49043a12e57ccd37800695e4e6c896d3ab656646626"], ["salt", "a578ac125c2b0b8c8c7eece92d757319183d76116478ea5ca466f5ab73951a3a"], ["updated_at", "2015-12-22 14:51:22.294805"], ["id", 2]]
825
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
868
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
869
+  (1.3ms) rollback transaction
870
+  (0.1ms) begin transaction
871
+  (0.0ms) SAVEPOINT active_record_1
872
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
873
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
874
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
876
+ Processing by MyForum::UsersController#update as HTML
877
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
878
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
880
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
882
+  (0.1ms) SAVEPOINT active_record_1
883
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.436128' WHERE "my_forum_users"."id" = ? [["id", 2]]
884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
885
+ MyForum::User Load (0.0ms) 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]]
886
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
887
+ MyForum::User Load (0.0ms) 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]]
888
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
891
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
893
+ Redirected to http://test.host/my_forum/users/2/edit
894
+ Completed 302 Found in 12ms (ActiveRecord: 1.2ms)
895
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
896
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
897
+  (0.7ms) rollback transaction
898
+  (0.0ms) begin transaction
899
+  (0.0ms) SAVEPOINT active_record_1
900
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
901
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
902
+ SQL (0.2ms) 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.448845"], ["updated_at", "2015-12-22 14:51:22.448845"]]
903
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
907
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
908
+ MyForum::User Load (0.0ms) 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]]
909
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
910
+  (0.0ms) SAVEPOINT active_record_1
911
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.454830' WHERE "my_forum_users"."id" = ? [["id", 2]]
912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
913
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
915
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
917
+ Unpermitted parameter: password
918
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
919
+ MyForum::User Load (0.0ms) 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]]
920
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
924
+  (0.5ms) rollback transaction
925
+  (0.0ms) begin transaction
926
+  (0.0ms) SAVEPOINT active_record_1
927
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
928
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
929
+ SQL (0.1ms) 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.465485"], ["updated_at", "2015-12-22 14:51:22.465485"]]
930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
931
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
936
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
938
+  (0.0ms) SAVEPOINT active_record_1
939
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:51:22.471715' WHERE "my_forum_users"."id" = ? [["id", 2]]
940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
941
+ MyForum::User Load (0.0ms) 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]]
942
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) 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]]
945
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
946
+ MyForum::User Load (0.0ms) 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]]
947
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
948
+  (0.0ms) SAVEPOINT active_record_1
949
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
950
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
951
+ SQL (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
953
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
955
+ Unpermitted parameter: password
956
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
957
+ MyForum::User Load (0.0ms) 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]]
958
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
962
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
963
+  (0.5ms) rollback transaction
964
+  (0.0ms) begin transaction
965
+ Processing by MyForum::UsersController#create as HTML
966
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
967
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
968
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
969
+  (0.0ms) SAVEPOINT active_record_1
970
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
971
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
972
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
975
+ Redirected to http://test.host/my_forum/
976
+ Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
977
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
978
+  (0.4ms) rollback transaction
979
+  (0.0ms) begin transaction
980
+  (0.1ms) rollback transaction
981
+  (0.0ms) begin transaction
982
+  (0.0ms) SAVEPOINT active_record_1
983
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
984
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
985
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "3cecbd7075f469aad85e52c62bd04fcf81408dfa36b37e4e9045d3dffde679a9"], ["salt", "c6676f1cfd5acbde4356162d6dfc123c6faa01a0478bb8997a8c499ecb5dc766"], ["created_at", "2015-12-22 14:51:22.525434"], ["updated_at", "2015-12-22 14:51:22.525434"]]
986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
987
+  (0.5ms) rollback transaction
988
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
989
+  (0.1ms) begin transaction
990
+  (0.0ms) SAVEPOINT active_record_1
991
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
992
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
993
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+ Processing by MyForum::UsersController#signin as HTML
996
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
997
+ MyForum::User Load (0.1ms) 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
+  (0.9ms) rollback transaction
1001
+  (0.0ms) begin transaction
1002
+ Processing by MyForum::UsersController#signin as HTML
1003
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
1004
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+  (0.1ms) rollback transaction
1013
+  (0.0ms) begin transaction
1014
+  (0.0ms) SAVEPOINT active_record_1
1015
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1016
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1017
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1019
+ Processing by MyForum::UsersController#forgot_password as HTML
1020
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
1021
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.2ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
1023
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
1024
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1025
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1027
+  (0.0ms) SAVEPOINT active_record_1
1028
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.464842' WHERE "my_forum_users"."id" = ? [["id", 2]]
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
1031
+  (0.1ms) SAVEPOINT active_record_1
1032
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1033
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "6aeffc88bdf9258535c0c1b59a6ca15e42b54846acc2c5d8da8748b0996a08d3"], ["salt", "76eb2d6a596ea15365ff65d6f41fb01eae851709a1892e7c28e7a5b03f0981fc"], ["updated_at", "2015-12-22 14:52:43.477642"], ["id", 2]]
1035
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1078
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1079
+  (1.4ms) rollback transaction
1080
+  (0.1ms) begin transaction
1081
+  (0.0ms) SAVEPOINT active_record_1
1082
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1083
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1084
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1086
+ Processing by MyForum::UsersController#update as HTML
1087
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
1088
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1090
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1092
+  (0.0ms) SAVEPOINT active_record_1
1093
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.610927' WHERE "my_forum_users"."id" = ? [["id", 2]]
1094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1095
+ MyForum::User Load (0.0ms) 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]]
1096
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1097
+ MyForum::User Load (0.0ms) 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]]
1098
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1101
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1103
+ Redirected to http://test.host/my_forum/users/2/edit
1104
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
1105
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1106
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1107
+  (0.6ms) rollback transaction
1108
+  (0.0ms) begin transaction
1109
+  (0.0ms) SAVEPOINT active_record_1
1110
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1111
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1112
+ SQL (0.2ms) 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.622063"], ["updated_at", "2015-12-22 14:52:43.622063"]]
1113
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1117
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1118
+ MyForum::User Load (0.0ms) 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]]
1119
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1120
+  (0.0ms) SAVEPOINT active_record_1
1121
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.628858' WHERE "my_forum_users"."id" = ? [["id", 2]]
1122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1123
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1125
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1127
+ Unpermitted parameter: password
1128
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1129
+ MyForum::User Load (0.0ms) 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]]
1130
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1134
+  (0.6ms) rollback transaction
1135
+  (0.0ms) begin transaction
1136
+  (0.0ms) SAVEPOINT active_record_1
1137
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1138
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1139
+ SQL (0.2ms) 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.639519"], ["updated_at", "2015-12-22 14:52:43.639519"]]
1140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1141
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1146
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1148
+  (0.0ms) SAVEPOINT active_record_1
1149
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:52:43.645611' WHERE "my_forum_users"."id" = ? [["id", 2]]
1150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1151
+ MyForum::User Load (0.0ms) 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]]
1152
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1155
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1156
+ MyForum::User Load (0.0ms) 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]]
1157
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1158
+  (0.0ms) SAVEPOINT active_record_1
1159
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1160
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
1161
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1163
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1165
+ Unpermitted parameter: password
1166
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1167
+ MyForum::User Load (0.1ms) 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]]
1168
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1172
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1173
+  (0.5ms) rollback transaction
1174
+  (0.0ms) begin transaction
1175
+ Processing by MyForum::UsersController#create as HTML
1176
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
1177
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1178
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1179
+  (0.0ms) SAVEPOINT active_record_1
1180
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1181
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1182
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1185
+ Redirected to http://test.host/my_forum/
1186
+ Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
1187
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
1188
+  (0.4ms) rollback transaction
1189
+  (0.1ms) begin transaction
1190
+  (0.1ms) rollback transaction
1191
+  (0.0ms) begin transaction
1192
+  (0.0ms) SAVEPOINT active_record_1
1193
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
1194
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
1195
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "354d4b2436e77ca9739797d2cbf56fa355722210bbf4f0dce2e2833e5fa15bde"], ["salt", "81d2a6492cc1733ebc15313187e2c98c9fea24036df1a28e38ac01436bd0d219"], ["created_at", "2015-12-22 14:52:43.692089"], ["updated_at", "2015-12-22 14:52:43.692089"]]
1196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1197
+  (0.4ms) rollback transaction
1198
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1199
+  (0.1ms) begin transaction
1200
+  (0.0ms) SAVEPOINT active_record_1
1201
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1202
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1203
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1205
+ Processing by MyForum::UsersController#signin as HTML
1206
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
1207
+ MyForum::User Load (0.1ms) 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
+  (1.0ms) rollback transaction
1211
+  (0.1ms) begin transaction
1212
+ Processing by MyForum::UsersController#signin as HTML
1213
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
1214
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
1223
+  (0.0ms) begin transaction
1224
+  (0.0ms) SAVEPOINT active_record_1
1225
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1226
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1227
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1229
+ Processing by MyForum::UsersController#forgot_password as HTML
1230
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
1231
+ MyForum::User Load (0.2ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
1233
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
1234
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1235
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1237
+  (0.0ms) SAVEPOINT active_record_1
1238
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.286604' WHERE "my_forum_users"."id" = ? [["id", 2]]
1239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1240
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
1241
+  (0.0ms) SAVEPOINT active_record_1
1242
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1243
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.2ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "9a39efbd7605a0ad65041f131077b200b9821f19cde44348f7bacdc0068ec842"], ["salt", "c32b597051bd621a9f27c5230be8a52a877061bee4985ad84c0bf51de8aa1804"], ["updated_at", "2015-12-22 14:53:59.297617"], ["id", 2]]
1245
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1288
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1289
+  (1.0ms) rollback transaction
1290
+  (0.1ms) begin transaction
1291
+  (0.0ms) SAVEPOINT active_record_1
1292
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1293
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1294
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1296
+ Processing by MyForum::UsersController#update as HTML
1297
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
1298
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1300
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1302
+  (0.0ms) SAVEPOINT active_record_1
1303
+ SQL (0.5ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.434484' WHERE "my_forum_users"."id" = ? [["id", 2]]
1304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1305
+ MyForum::User Load (0.1ms) 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]]
1306
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1307
+ MyForum::User Load (0.1ms) 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]]
1308
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1311
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1313
+ Redirected to http://test.host/my_forum/users/2/edit
1314
+ Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
1315
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1316
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1317
+  (0.6ms) rollback transaction
1318
+  (0.1ms) begin transaction
1319
+  (0.0ms) SAVEPOINT active_record_1
1320
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1321
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1322
+ SQL (0.2ms) 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.448634"], ["updated_at", "2015-12-22 14:53:59.448634"]]
1323
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1327
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1328
+ MyForum::User Load (0.0ms) 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]]
1329
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1330
+  (0.0ms) SAVEPOINT active_record_1
1331
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.454969' WHERE "my_forum_users"."id" = ? [["id", 2]]
1332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1333
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1335
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1337
+ Unpermitted parameter: password
1338
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1339
+ MyForum::User Load (0.0ms) 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]]
1340
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1344
+  (0.6ms) rollback transaction
1345
+  (0.0ms) begin transaction
1346
+  (0.0ms) SAVEPOINT active_record_1
1347
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1348
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1349
+ SQL (0.2ms) 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.465733"], ["updated_at", "2015-12-22 14:53:59.465733"]]
1350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1351
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1356
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1358
+  (0.0ms) SAVEPOINT active_record_1
1359
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 14:53:59.472614' WHERE "my_forum_users"."id" = ? [["id", 2]]
1360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1361
+ MyForum::User Load (0.0ms) 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]]
1362
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1365
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1366
+ MyForum::User Load (0.0ms) 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]]
1367
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1368
+  (0.0ms) SAVEPOINT active_record_1
1369
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1370
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
1371
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1373
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1375
+ Unpermitted parameter: password
1376
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1377
+ MyForum::User Load (0.0ms) 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]]
1378
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1382
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1383
+  (0.7ms) rollback transaction
1384
+  (0.0ms) begin transaction
1385
+ Processing by MyForum::UsersController#create as HTML
1386
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
1387
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1388
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1389
+  (0.1ms) SAVEPOINT active_record_1
1390
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1391
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1392
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1395
+ Redirected to http://test.host/my_forum/
1396
+ Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
1397
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
1398
+  (0.5ms) rollback transaction
1399
+  (0.0ms) begin transaction
1400
+  (0.1ms) rollback transaction
1401
+  (0.0ms) begin transaction
1402
+  (0.0ms) SAVEPOINT active_record_1
1403
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
1404
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
1405
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "2666737931c1ab818aaea77ecb1cdb929db5d59fd0bc931864fc208cb07646cd"], ["salt", "21c72f116b6e69b9a7fb2a6b142c93bc7b99262f19b8094497e3ebd569b1dd41"], ["created_at", "2015-12-22 14:53:59.524225"], ["updated_at", "2015-12-22 14:53:59.524225"]]
1406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1407
+  (0.3ms) rollback transaction
1408
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1409
+  (0.1ms) begin transaction
1410
+  (0.1ms) SAVEPOINT active_record_1
1411
+ MyForum::User Exists (0.4ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1412
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1413
+ SQL (0.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1415
+ Processing by MyForum::UsersController#signin as HTML
1416
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
1417
+ MyForum::User Load (0.2ms) 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
+  (0.4ms) rollback transaction
1421
+  (0.0ms) begin transaction
1422
+ Processing by MyForum::UsersController#signin as HTML
1423
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
1424
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+  (0.1ms) rollback transaction
1433
+  (0.0ms) begin transaction
1434
+  (0.0ms) SAVEPOINT active_record_1
1435
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1436
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1437
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1439
+ Processing by MyForum::UsersController#forgot_password as HTML
1440
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
1441
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.4ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
1443
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
1444
+ MyForum::UserGroupLink Load (0.4ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1445
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1447
+  (0.0ms) SAVEPOINT active_record_1
1448
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.704520' WHERE "my_forum_users"."id" = ? [["id", 2]]
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
1451
+  (0.1ms) SAVEPOINT active_record_1
1452
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1453
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "b4960f63cceb9bdfaefdb68013f5a30073bf95c7de3a4852947e522dff3d7ca6"], ["salt", "03653e800597372af1dc9368997c11a8491eae51f899137c7265188a43eab778"], ["updated_at", "2015-12-22 15:05:40.719555"], ["id", 2]]
1455
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1498
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1499
+  (0.6ms) rollback transaction
1500
+  (0.0ms) begin transaction
1501
+  (0.0ms) SAVEPOINT active_record_1
1502
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1503
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1504
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1506
+ Processing by MyForum::UsersController#update as HTML
1507
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
1508
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1510
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1512
+  (0.0ms) SAVEPOINT active_record_1
1513
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.879688' WHERE "my_forum_users"."id" = ? [["id", 2]]
1514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1515
+ MyForum::User Load (0.1ms) 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]]
1516
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1517
+ MyForum::User Load (0.1ms) 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]]
1518
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1521
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1523
+ Redirected to http://test.host/my_forum/users/2/edit
1524
+ Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
1525
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1526
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1527
+  (0.6ms) rollback transaction
1528
+  (0.0ms) begin transaction
1529
+  (0.0ms) SAVEPOINT active_record_1
1530
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1531
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1532
+ SQL (0.2ms) 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.894384"], ["updated_at", "2015-12-22 15:05:40.894384"]]
1533
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1537
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1538
+ MyForum::User Load (0.0ms) 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]]
1539
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1540
+  (0.0ms) SAVEPOINT active_record_1
1541
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.901436' WHERE "my_forum_users"."id" = ? [["id", 2]]
1542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1543
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1545
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1547
+ Unpermitted parameter: password
1548
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1549
+ MyForum::User Load (0.0ms) 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]]
1550
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1554
+  (0.6ms) rollback transaction
1555
+  (0.0ms) begin transaction
1556
+  (0.0ms) SAVEPOINT active_record_1
1557
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1558
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1559
+ SQL (0.2ms) 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.913257"], ["updated_at", "2015-12-22 15:05:40.913257"]]
1560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1561
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1566
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1568
+  (0.0ms) SAVEPOINT active_record_1
1569
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:05:40.920217' WHERE "my_forum_users"."id" = ? [["id", 2]]
1570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1571
+ MyForum::User Load (0.0ms) 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]]
1572
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1575
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1576
+ MyForum::User Load (0.0ms) 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]]
1577
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1578
+  (0.0ms) SAVEPOINT active_record_1
1579
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1580
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
1581
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1583
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1585
+ Unpermitted parameter: password
1586
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1587
+ MyForum::User Load (0.0ms) 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]]
1588
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1592
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1593
+  (0.5ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+ Processing by MyForum::UsersController#create as HTML
1596
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
1597
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1598
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1599
+  (0.1ms) SAVEPOINT active_record_1
1600
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1601
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1602
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1605
+ Redirected to http://test.host/my_forum/
1606
+ Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
1607
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
1608
+  (0.3ms) rollback transaction
1609
+  (0.0ms) begin transaction
1610
+  (0.1ms) rollback transaction
1611
+  (0.0ms) begin transaction
1612
+  (0.0ms) SAVEPOINT active_record_1
1613
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
1614
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
1615
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "a653c0c89b4098c6ce481cf1bfba4383259dd6c475c4ecd19a7c62e7f523b655"], ["salt", "d19439c8260f02fe326a7fda6f8d44ce56ab2f1f574fbfe1d4f2c20991224d39"], ["created_at", "2015-12-22 15:06:52.976343"], ["updated_at", "2015-12-22 15:06:52.976343"]]
1616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1617
+  (1.1ms) rollback transaction
1618
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1619
+  (0.1ms) begin transaction
1620
+  (0.1ms) SAVEPOINT active_record_1
1621
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1622
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1623
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1625
+ Processing by MyForum::UsersController#signin as HTML
1626
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
1627
+ MyForum::User Load (0.1ms) 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
+  (0.3ms) rollback transaction
1631
+  (0.0ms) begin transaction
1632
+ Processing by MyForum::UsersController#signin as HTML
1633
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
1634
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
1643
+  (0.0ms) begin transaction
1644
+  (0.0ms) SAVEPOINT active_record_1
1645
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1646
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1647
+ SQL (0.9ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1649
+ Processing by MyForum::UsersController#forgot_password as HTML
1650
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
1651
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
1653
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
1654
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1655
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1657
+  (0.0ms) SAVEPOINT active_record_1
1658
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.820614' WHERE "my_forum_users"."id" = ? [["id", 2]]
1659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1660
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
1661
+  (0.0ms) SAVEPOINT active_record_1
1662
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1663
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "f4608618e58a33f3e01cb65fe271d8cd669efc902cd27ca6766b94d278c3e52a"], ["salt", "a7f04ca442abcb9886ffa896fc6c75156795e056db49dfeba29b0a0c4dc134bd"], ["updated_at", "2015-12-22 15:06:55.831661"], ["id", 2]]
1665
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1708
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1709
+  (0.7ms) rollback transaction
1710
+  (0.0ms) begin transaction
1711
+  (0.0ms) SAVEPOINT active_record_1
1712
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1713
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1714
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1716
+ Processing by MyForum::UsersController#update as HTML
1717
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
1718
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1720
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1722
+  (0.0ms) SAVEPOINT active_record_1
1723
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.974813' WHERE "my_forum_users"."id" = ? [["id", 2]]
1724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1725
+ MyForum::User Load (0.0ms) 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]]
1726
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1727
+ MyForum::User Load (0.0ms) 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]]
1728
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1731
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1733
+ Redirected to http://test.host/my_forum/users/2/edit
1734
+ Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
1735
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1736
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1737
+  (0.7ms) rollback transaction
1738
+  (0.0ms) begin transaction
1739
+  (0.0ms) SAVEPOINT active_record_1
1740
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1741
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1742
+ SQL (0.2ms) 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.987542"], ["updated_at", "2015-12-22 15:06:55.987542"]]
1743
+  (0.1ms) 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
+ MyForum::User Load (0.0ms) 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]]
1747
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1748
+ MyForum::User Load (0.0ms) 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]]
1749
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1750
+  (0.0ms) SAVEPOINT active_record_1
1751
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:55.995002' WHERE "my_forum_users"."id" = ? [["id", 2]]
1752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1753
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1755
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1757
+ Unpermitted parameter: password
1758
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1759
+ MyForum::User Load (0.0ms) 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]]
1760
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1764
+  (0.5ms) rollback transaction
1765
+  (0.0ms) begin transaction
1766
+  (0.0ms) SAVEPOINT active_record_1
1767
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1768
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1769
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1771
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1776
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1778
+  (0.0ms) SAVEPOINT active_record_1
1779
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:06:56.015749' WHERE "my_forum_users"."id" = ? [["id", 2]]
1780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1781
+ MyForum::User Load (0.0ms) 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]]
1782
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1785
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1786
+ MyForum::User Load (0.0ms) 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]]
1787
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1788
+  (0.0ms) SAVEPOINT active_record_1
1789
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1790
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
1791
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1793
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1795
+ Unpermitted parameter: password
1796
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1797
+ MyForum::User Load (0.0ms) 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]]
1798
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1802
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1803
+  (0.6ms) rollback transaction
1804
+  (0.0ms) begin transaction
1805
+ Processing by MyForum::UsersController#create as HTML
1806
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
1807
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1808
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1809
+  (0.0ms) SAVEPOINT active_record_1
1810
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
1811
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
1812
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1815
+ Redirected to http://test.host/my_forum/
1816
+ Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
1817
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
1818
+  (0.3ms) rollback transaction
1819
+  (0.0ms) begin transaction
1820
+  (0.1ms) rollback transaction
1821
+  (0.1ms) begin transaction
1822
+  (0.0ms) SAVEPOINT active_record_1
1823
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
1824
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
1825
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "e4cfcbc12f9d98d583e4a8192f87ff8dff65f35cf00b99a36591507aaabb95f8"], ["salt", "caa38fbbc3cec2ea62afea02d10a8ad97be03eafe28d6ad4e9aa865baaf16013"], ["created_at", "2015-12-22 15:07:02.529809"], ["updated_at", "2015-12-22 15:07:02.529809"]]
1826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1827
+  (0.7ms) rollback transaction
1828
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1829
+  (0.1ms) begin transaction
1830
+  (0.1ms) SAVEPOINT active_record_1
1831
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1832
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1833
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1835
+ Processing by MyForum::UsersController#signin as HTML
1836
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
1837
+ MyForum::User Load (0.2ms) 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
+  (1.1ms) rollback transaction
1841
+  (0.1ms) begin transaction
1842
+ Processing by MyForum::UsersController#signin as HTML
1843
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
1844
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
1853
+  (0.0ms) begin transaction
1854
+  (0.0ms) SAVEPOINT active_record_1
1855
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1856
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1857
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1859
+ Processing by MyForum::UsersController#forgot_password as HTML
1860
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
1861
+ MyForum::User Load (0.2ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
1863
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
1864
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1865
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1867
+  (0.0ms) SAVEPOINT active_record_1
1868
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.295057' WHERE "my_forum_users"."id" = ? [["id", 2]]
1869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1870
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
1871
+  (0.1ms) SAVEPOINT active_record_1
1872
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
1873
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "1103174d30ac800bdd4479bfc24482377113b921498f602d3ca772e3f57035db"], ["salt", "4099fdc95f8f818a26285b783e81acaeb5856aa6cdd0d55074007a011031f45f"], ["updated_at", "2015-12-22 15:07:11.307799"], ["id", 2]]
1875
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1918
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1919
+  (1.4ms) rollback transaction
1920
+  (0.1ms) begin transaction
1921
+  (0.1ms) SAVEPOINT active_record_1
1922
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1923
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1924
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1926
+ Processing by MyForum::UsersController#update as HTML
1927
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
1928
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1930
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1932
+  (0.0ms) SAVEPOINT active_record_1
1933
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.454860' WHERE "my_forum_users"."id" = ? [["id", 2]]
1934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1935
+ MyForum::User Load (0.0ms) 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]]
1936
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1937
+ MyForum::User Load (0.0ms) 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]]
1938
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1941
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1943
+ Redirected to http://test.host/my_forum/users/2/edit
1944
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
1945
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1946
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1947
+  (0.8ms) rollback transaction
1948
+  (0.0ms) begin transaction
1949
+  (0.1ms) SAVEPOINT active_record_1
1950
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1951
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1952
+ SQL (0.2ms) 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.466482"], ["updated_at", "2015-12-22 15:07:11.466482"]]
1953
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
1957
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1958
+ MyForum::User Load (0.0ms) 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]]
1959
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1960
+  (0.0ms) SAVEPOINT active_record_1
1961
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.474550' WHERE "my_forum_users"."id" = ? [["id", 2]]
1962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1963
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1965
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1967
+ Unpermitted parameter: password
1968
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
1969
+ MyForum::User Load (0.0ms) 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]]
1970
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
1974
+  (0.6ms) rollback transaction
1975
+  (0.0ms) begin transaction
1976
+  (0.0ms) SAVEPOINT active_record_1
1977
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
1978
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
1979
+ SQL (0.2ms) 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.487517"], ["updated_at", "2015-12-22 15:07:11.487517"]]
1980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1981
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1986
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1988
+  (0.0ms) SAVEPOINT active_record_1
1989
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-22 15:07:11.494999' WHERE "my_forum_users"."id" = ? [["id", 2]]
1990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1991
+ MyForum::User Load (0.0ms) 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]]
1992
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.1ms) 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]]
1995
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1996
+ MyForum::User Load (0.0ms) 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]]
1997
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
1998
+  (0.0ms) SAVEPOINT active_record_1
1999
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2000
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
2001
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2003
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2005
+ Unpermitted parameter: password
2006
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2007
+ MyForum::User Load (0.0ms) 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]]
2008
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2012
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2013
+  (0.7ms) rollback transaction
2014
+  (0.1ms) begin transaction
2015
+ Processing by MyForum::UsersController#create as HTML
2016
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
2017
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2018
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2019
+  (0.1ms) SAVEPOINT active_record_1
2020
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2021
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2022
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2025
+ Redirected to http://test.host/my_forum/
2026
+ Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
2027
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
2028
+  (0.4ms) rollback transaction
2029
+  (0.0ms) begin transaction
2030
+  (0.1ms) rollback transaction
2031
+  (0.1ms) begin transaction
2032
+  (0.0ms) SAVEPOINT active_record_1
2033
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
2034
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
2035
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "ca72a3cf06abfa220ca775b4dd8e292bbe3e82f1a434a8e5d13760f0166bb517"], ["salt", "7be118eaae73143ce21ff50a6578adafac85e830681abd115f122ae4819fd996"], ["created_at", "2015-12-22 15:25:19.770928"], ["updated_at", "2015-12-22 15:25:19.770928"]]
2036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2037
+  (0.4ms) rollback transaction
2038
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2039
+  (0.1ms) begin transaction
2040
+  (0.1ms) SAVEPOINT active_record_1
2041
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2042
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2043
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2045
+ Processing by MyForum::UsersController#signin as HTML
2046
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
2047
+ MyForum::User Load (0.2ms) 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
+  (1.0ms) rollback transaction
2051
+  (0.1ms) begin transaction
2052
+ Processing by MyForum::UsersController#signin as HTML
2053
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
2054
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
2063
+  (0.0ms) begin transaction
2064
+  (0.0ms) SAVEPOINT active_record_1
2065
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2066
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2067
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2069
+ Processing by MyForum::UsersController#forgot_password as HTML
2070
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
2071
+ MyForum::User Load (0.2ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
2073
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
2074
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2075
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2077
+  (0.0ms) SAVEPOINT active_record_1
2078
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.604802' WHERE "my_forum_users"."id" = ? [["id", 2]]
2079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2080
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
2081
+  (0.1ms) SAVEPOINT active_record_1
2082
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2083
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "652cdfa4a9998a2f23a5248edbc0d21b3512551de940866d817b0a99c3cc91c2"], ["salt", "67ffc2c7b1e4508dc74318d7a74329b29723a69d132b695ec0a6984d868a05c4"], ["updated_at", "2015-12-23 09:01:59.616829"], ["id", 2]]
2085
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2128
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2129
+  (0.6ms) rollback transaction
2130
+  (0.0ms) begin transaction
2131
+  (0.0ms) SAVEPOINT active_record_1
2132
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2133
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2134
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2136
+ Processing by MyForum::UsersController#update as HTML
2137
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
2138
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2140
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2142
+  (0.0ms) SAVEPOINT active_record_1
2143
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.784539' WHERE "my_forum_users"."id" = ? [["id", 2]]
2144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2145
+ MyForum::User Load (0.0ms) 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]]
2146
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2147
+ MyForum::User Load (0.0ms) 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]]
2148
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2151
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2153
+ Redirected to http://test.host/my_forum/users/2/edit
2154
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
2155
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2156
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2157
+  (0.7ms) rollback transaction
2158
+  (0.1ms) begin transaction
2159
+  (0.0ms) SAVEPOINT active_record_1
2160
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2161
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2162
+ SQL (0.2ms) 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.795755"], ["updated_at", "2015-12-23 09:01:59.795755"]]
2163
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2167
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2168
+ MyForum::User Load (0.0ms) 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]]
2169
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2170
+  (0.0ms) SAVEPOINT active_record_1
2171
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.802000' WHERE "my_forum_users"."id" = ? [["id", 2]]
2172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2173
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2175
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2177
+ Unpermitted parameter: password
2178
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2179
+ MyForum::User Load (0.0ms) 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]]
2180
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2184
+  (0.6ms) rollback transaction
2185
+  (0.0ms) begin transaction
2186
+  (0.0ms) SAVEPOINT active_record_1
2187
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2188
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2189
+ SQL (0.3ms) 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.813175"], ["updated_at", "2015-12-23 09:01:59.813175"]]
2190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2191
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2196
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2198
+  (0.0ms) SAVEPOINT active_record_1
2199
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:01:59.820563' WHERE "my_forum_users"."id" = ? [["id", 2]]
2200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2201
+ MyForum::User Load (0.0ms) 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]]
2202
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2205
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2206
+ MyForum::User Load (0.0ms) 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]]
2207
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2208
+  (0.0ms) SAVEPOINT active_record_1
2209
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2210
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
2211
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2213
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2215
+ Unpermitted parameter: password
2216
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2217
+ MyForum::User Load (0.0ms) 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]]
2218
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2222
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2223
+  (0.6ms) rollback transaction
2224
+  (0.0ms) begin transaction
2225
+ Processing by MyForum::UsersController#create as HTML
2226
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
2227
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2228
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2229
+  (0.0ms) SAVEPOINT active_record_1
2230
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2231
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2232
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2235
+ Redirected to http://test.host/my_forum/
2236
+ Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
2237
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
2238
+  (0.4ms) rollback transaction
2239
+  (0.0ms) begin transaction
2240
+  (0.1ms) rollback transaction
2241
+  (0.1ms) begin transaction
2242
+  (0.1ms) SAVEPOINT active_record_1
2243
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
2244
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
2245
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "bdc0b931df1c2e04dd703b493b047cfdf1b8d874963503ca1289e93536cc4c30"], ["salt", "7243d968d2185fe54d915130f1be054db3130be3873072436a6fea58e47ad476"], ["created_at", "2015-12-23 09:06:18.728577"], ["updated_at", "2015-12-23 09:06:18.728577"]]
2246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2247
+  (0.8ms) rollback transaction
2248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2249
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2250
+  (0.1ms) begin transaction
2251
+  (0.0ms) SAVEPOINT active_record_1
2252
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2253
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2254
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2256
+ Processing by MyForum::UsersController#signin as HTML
2257
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
2258
+ MyForum::User Load (0.2ms) 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
+  (1.2ms) rollback transaction
2262
+  (0.1ms) begin transaction
2263
+ Processing by MyForum::UsersController#signin as HTML
2264
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
2265
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.0ms) rollback transaction
2274
+  (0.0ms) begin transaction
2275
+  (0.0ms) SAVEPOINT active_record_1
2276
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2277
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2278
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2280
+ Processing by MyForum::UsersController#forgot_password as HTML
2281
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
2282
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
2284
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
2285
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2286
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2288
+  (0.0ms) SAVEPOINT active_record_1
2289
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.059744' WHERE "my_forum_users"."id" = ? [["id", 2]]
2290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2291
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
2292
+  (0.1ms) SAVEPOINT active_record_1
2293
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2294
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "fa28234b86490a14db3207782c5959524285c729f27aabdd18a3d8659c07019e"], ["salt", "0e8d4b6fe0160693a1ad5b95252201a6e7c4a1ed8aeea4ef6f066af4330e0f2e"], ["updated_at", "2015-12-23 09:06:34.071458"], ["id", 2]]
2296
+  (0.1ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2339
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2340
+  (1.4ms) rollback transaction
2341
+  (0.1ms) begin transaction
2342
+  (0.0ms) SAVEPOINT active_record_1
2343
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2344
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2345
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2347
+ Processing by MyForum::UsersController#update as HTML
2348
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
2349
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2351
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2353
+  (0.0ms) SAVEPOINT active_record_1
2354
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.201004' WHERE "my_forum_users"."id" = ? [["id", 2]]
2355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2356
+ MyForum::User Load (0.0ms) 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]]
2357
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2358
+ MyForum::User Load (0.0ms) 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]]
2359
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2362
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2364
+ Redirected to http://test.host/my_forum/users/2/edit
2365
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
2366
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2367
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2368
+  (0.7ms) rollback transaction
2369
+  (0.0ms) begin transaction
2370
+  (0.0ms) SAVEPOINT active_record_1
2371
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2372
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2373
+ SQL (0.2ms) 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.211324"], ["updated_at", "2015-12-23 09:06:34.211324"]]
2374
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2378
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2379
+ MyForum::User Load (0.0ms) 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]]
2380
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2381
+  (0.0ms) SAVEPOINT active_record_1
2382
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.216929' WHERE "my_forum_users"."id" = ? [["id", 2]]
2383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2384
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2386
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2388
+ Unpermitted parameter: password
2389
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2390
+ MyForum::User Load (0.0ms) 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]]
2391
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2395
+  (0.6ms) rollback transaction
2396
+  (0.0ms) begin transaction
2397
+  (0.0ms) SAVEPOINT active_record_1
2398
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2399
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2400
+ SQL (0.2ms) 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.226818"], ["updated_at", "2015-12-23 09:06:34.226818"]]
2401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2402
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2407
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2409
+  (0.0ms) SAVEPOINT active_record_1
2410
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:34.234337' WHERE "my_forum_users"."id" = ? [["id", 2]]
2411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2412
+ MyForum::User Load (0.0ms) 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]]
2413
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2416
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2417
+ MyForum::User Load (0.0ms) 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]]
2418
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2419
+  (0.0ms) SAVEPOINT active_record_1
2420
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2421
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
2422
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2424
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2426
+ Unpermitted parameter: password
2427
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2428
+ MyForum::User Load (0.0ms) 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]]
2429
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2433
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2434
+  (0.6ms) rollback transaction
2435
+  (0.0ms) begin transaction
2436
+ Processing by MyForum::UsersController#create as HTML
2437
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
2438
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2439
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2440
+  (0.0ms) SAVEPOINT active_record_1
2441
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2442
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2443
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2446
+ Redirected to http://test.host/my_forum/
2447
+ Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
2448
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
2449
+  (0.5ms) rollback transaction
2450
+  (0.1ms) begin transaction
2451
+  (0.1ms) rollback transaction
2452
+  (0.1ms) begin transaction
2453
+  (0.0ms) SAVEPOINT active_record_1
2454
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
2455
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
2456
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "9760228d1cf33940f213f01ee6444959783b926712a3e58d2029209d8e19df8b"], ["salt", "9f5d5598faf2a241cdd00b7e853f804071b9038841bfa97b40c3dcc899c9cc56"], ["created_at", "2015-12-23 09:06:34.270474"], ["updated_at", "2015-12-23 09:06:34.270474"]]
2457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2458
+  (0.4ms) rollback transaction
2459
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2460
+  (0.1ms) begin transaction
2461
+  (0.0ms) SAVEPOINT active_record_1
2462
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2463
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2464
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2466
+ Processing by MyForum::UsersController#signin as HTML
2467
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
2468
+ MyForum::User Load (0.1ms) 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
+  (1.1ms) rollback transaction
2472
+  (0.1ms) begin transaction
2473
+ Processing by MyForum::UsersController#signin as HTML
2474
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
2475
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
2484
+  (0.0ms) begin transaction
2485
+  (0.0ms) SAVEPOINT active_record_1
2486
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2487
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2488
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2490
+ Processing by MyForum::UsersController#forgot_password as HTML
2491
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
2492
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
2494
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
2495
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2496
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2498
+  (0.0ms) SAVEPOINT active_record_1
2499
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.207272' WHERE "my_forum_users"."id" = ? [["id", 2]]
2500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2501
+ MyForum::User Load (0.2ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
2502
+  (0.1ms) SAVEPOINT active_record_1
2503
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2504
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "4c75def842d18b576ef386e22f05cf617b5b9c36c4d1ac377450994538874ac8"], ["salt", "fe3532e161a00edada84c62398160cc04cd42a5bc400614608e3af48c732038a"], ["updated_at", "2015-12-23 09:06:57.222559"], ["id", 2]]
2506
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2549
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2550
+  (1.2ms) rollback transaction
2551
+  (0.0ms) begin transaction
2552
+  (0.0ms) SAVEPOINT active_record_1
2553
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2554
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2555
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2557
+ Processing by MyForum::UsersController#update as HTML
2558
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
2559
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2561
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2563
+  (0.0ms) SAVEPOINT active_record_1
2564
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.351344' WHERE "my_forum_users"."id" = ? [["id", 2]]
2565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2566
+ MyForum::User Load (0.0ms) 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]]
2567
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2568
+ MyForum::User Load (0.0ms) 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]]
2569
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2572
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2574
+ Redirected to http://test.host/my_forum/users/2/edit
2575
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
2576
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2577
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2578
+  (0.7ms) rollback transaction
2579
+  (0.0ms) begin transaction
2580
+  (0.0ms) SAVEPOINT active_record_1
2581
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2582
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2583
+ SQL (0.2ms) 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.361775"], ["updated_at", "2015-12-23 09:06:57.361775"]]
2584
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2588
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2589
+ MyForum::User Load (0.0ms) 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]]
2590
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2591
+  (0.0ms) SAVEPOINT active_record_1
2592
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.367593' WHERE "my_forum_users"."id" = ? [["id", 2]]
2593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2594
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2596
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2598
+ Unpermitted parameter: password
2599
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2600
+ MyForum::User Load (0.0ms) 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]]
2601
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2605
+  (0.7ms) rollback transaction
2606
+  (0.0ms) begin transaction
2607
+  (0.1ms) SAVEPOINT active_record_1
2608
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2609
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2610
+ SQL (0.3ms) 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.379383"], ["updated_at", "2015-12-23 09:06:57.379383"]]
2611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2612
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2617
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2619
+  (0.0ms) SAVEPOINT active_record_1
2620
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:06:57.387933' WHERE "my_forum_users"."id" = ? [["id", 2]]
2621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2622
+ MyForum::User Load (0.0ms) 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]]
2623
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2626
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2627
+ MyForum::User Load (0.0ms) 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]]
2628
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2629
+  (0.0ms) SAVEPOINT active_record_1
2630
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2631
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
2632
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2634
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2636
+ Unpermitted parameter: password
2637
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2638
+ MyForum::User Load (0.0ms) 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]]
2639
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2643
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2644
+  (0.7ms) rollback transaction
2645
+  (0.0ms) begin transaction
2646
+ Processing by MyForum::UsersController#create as HTML
2647
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
2648
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2649
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2650
+  (0.0ms) SAVEPOINT active_record_1
2651
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2652
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2653
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2656
+ Redirected to http://test.host/my_forum/
2657
+ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
2658
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
2659
+  (0.6ms) rollback transaction
2660
+  (0.1ms) begin transaction
2661
+  (0.1ms) rollback transaction
2662
+  (0.0ms) begin transaction
2663
+  (0.0ms) SAVEPOINT active_record_1
2664
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
2665
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
2666
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "807c033e7449f0bdc337e427854bfd77e5c2ac44cdf4cae13d5bf709b2abab93"], ["salt", "287662fecd23680c3912af20a2fd83d5f13d0d8f3938a41c0b5df2c64c21575f"], ["created_at", "2015-12-23 09:06:57.420432"], ["updated_at", "2015-12-23 09:06:57.420432"]]
2667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2668
+  (0.4ms) rollback transaction
2669
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2670
+  (0.1ms) begin transaction
2671
+  (0.1ms) SAVEPOINT active_record_1
2672
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2673
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2674
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2676
+ Processing by MyForum::UsersController#signin as HTML
2677
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
2678
+ MyForum::User Load (0.2ms) 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
+  (0.9ms) rollback transaction
2682
+  (0.1ms) begin transaction
2683
+ Processing by MyForum::UsersController#signin as HTML
2684
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
2685
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
2694
+  (0.0ms) begin transaction
2695
+  (0.0ms) SAVEPOINT active_record_1
2696
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2697
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2698
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2700
+ Processing by MyForum::UsersController#forgot_password as HTML
2701
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
2702
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
2704
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
2705
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2706
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2708
+  (0.0ms) SAVEPOINT active_record_1
2709
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:13.967551' WHERE "my_forum_users"."id" = ? [["id", 2]]
2710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2711
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
2712
+  (0.0ms) SAVEPOINT active_record_1
2713
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2714
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "8bda99a34f2ff4c78405ff8bb642ed3fd353b9e57de7b19a8c3eb8d3b89cb7f9"], ["salt", "ac859e5dd28cf8570d6469878e31e2fcb8ef7925d9165c4085adb88229f3de59"], ["updated_at", "2015-12-23 09:08:13.977647"], ["id", 2]]
2716
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2759
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2760
+  (1.3ms) rollback transaction
2761
+  (0.0ms) begin transaction
2762
+  (0.0ms) SAVEPOINT active_record_1
2763
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2764
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2765
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2767
+ Processing by MyForum::UsersController#update as HTML
2768
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
2769
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2771
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2773
+  (0.0ms) SAVEPOINT active_record_1
2774
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.105591' WHERE "my_forum_users"."id" = ? [["id", 2]]
2775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2776
+ MyForum::User Load (0.0ms) 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]]
2777
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2778
+ MyForum::User Load (0.0ms) 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]]
2779
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2782
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2784
+ Redirected to http://test.host/my_forum/users/2/edit
2785
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
2786
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2787
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2788
+  (0.6ms) rollback transaction
2789
+  (0.0ms) begin transaction
2790
+  (0.0ms) SAVEPOINT active_record_1
2791
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2792
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2793
+ SQL (0.1ms) 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.115780"], ["updated_at", "2015-12-23 09:08:14.115780"]]
2794
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2798
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2799
+ MyForum::User Load (0.0ms) 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]]
2800
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2801
+  (0.0ms) SAVEPOINT active_record_1
2802
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.121575' WHERE "my_forum_users"."id" = ? [["id", 2]]
2803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2804
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2806
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2808
+ Unpermitted parameter: password
2809
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2810
+ MyForum::User Load (0.0ms) 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]]
2811
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2815
+  (0.7ms) rollback transaction
2816
+  (0.0ms) begin transaction
2817
+  (0.0ms) SAVEPOINT active_record_1
2818
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2819
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2820
+ SQL (0.2ms) 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.131697"], ["updated_at", "2015-12-23 09:08:14.131697"]]
2821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2822
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2827
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2829
+  (0.0ms) SAVEPOINT active_record_1
2830
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:08:14.138379' WHERE "my_forum_users"."id" = ? [["id", 2]]
2831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2832
+ MyForum::User Load (0.0ms) 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]]
2833
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
2836
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2837
+ MyForum::User Load (0.0ms) 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]]
2838
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2839
+  (0.0ms) SAVEPOINT active_record_1
2840
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2841
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
2842
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2844
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2846
+ Unpermitted parameter: password
2847
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2848
+ MyForum::User Load (0.0ms) 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]]
2849
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2853
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2854
+  (0.6ms) rollback transaction
2855
+  (0.0ms) begin transaction
2856
+ Processing by MyForum::UsersController#create as HTML
2857
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
2858
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2859
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2860
+  (0.0ms) SAVEPOINT active_record_1
2861
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
2862
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
2863
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2866
+ Redirected to http://test.host/my_forum/
2867
+ Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
2868
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
2869
+  (0.5ms) rollback transaction
2870
+  (0.0ms) begin transaction
2871
+  (0.0ms) rollback transaction
2872
+  (0.0ms) begin transaction
2873
+  (0.0ms) SAVEPOINT active_record_1
2874
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
2875
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
2876
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "96b7852a0e8345c815b31fe611aebd1336b3ad00e21d63f34019753759dd9a5b"], ["salt", "6eaeebbd709a45b00310cf0be34d21a5e8318b37984472516c06ea9e0d8af62a"], ["created_at", "2015-12-23 09:08:14.172400"], ["updated_at", "2015-12-23 09:08:14.172400"]]
2877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2878
+  (0.5ms) rollback transaction
2879
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2880
+  (0.1ms) begin transaction
2881
+  (0.0ms) SAVEPOINT active_record_1
2882
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2883
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2884
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2886
+ Processing by MyForum::UsersController#signin as HTML
2887
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
2888
+ MyForum::User Load (0.1ms) 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
+  (1.1ms) rollback transaction
2892
+  (0.1ms) begin transaction
2893
+ Processing by MyForum::UsersController#signin as HTML
2894
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
2895
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
2904
+  (0.0ms) begin transaction
2905
+  (0.0ms) SAVEPOINT active_record_1
2906
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2907
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2908
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2910
+ Processing by MyForum::UsersController#forgot_password as HTML
2911
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
2912
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
2914
+ MyForum::UserGroup Load (0.2ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
2915
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2916
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2918
+  (0.0ms) SAVEPOINT active_record_1
2919
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.386233' WHERE "my_forum_users"."id" = ? [["id", 2]]
2920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2921
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
2922
+  (0.0ms) SAVEPOINT active_record_1
2923
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
2924
+ MyForum::User Exists (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "f27ae392ebae5553b5b121841c46b516c5fb07b3e160d4ca93115776ee21e951"], ["salt", "52060adc47a0ffe6729dd282b2f47e457425e2f2864f009e6474e36fb59a0e7d"], ["updated_at", "2015-12-23 09:16:16.398235"], ["id", 2]]
2926
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2969
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2970
+  (1.3ms) rollback transaction
2971
+  (0.1ms) begin transaction
2972
+  (0.0ms) SAVEPOINT active_record_1
2973
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
2974
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
2975
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2977
+ Processing by MyForum::UsersController#update as HTML
2978
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
2979
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2981
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2983
+  (0.0ms) SAVEPOINT active_record_1
2984
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.525162' WHERE "my_forum_users"."id" = ? [["id", 2]]
2985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2986
+ MyForum::User Load (0.0ms) 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]]
2987
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2988
+ MyForum::User Load (0.0ms) 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]]
2989
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
2992
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
2994
+ Redirected to http://test.host/my_forum/users/2/edit
2995
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
2996
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2997
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
2998
+  (0.6ms) rollback transaction
2999
+  (0.0ms) begin transaction
3000
+  (0.0ms) SAVEPOINT active_record_1
3001
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3002
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3003
+ SQL (0.2ms) 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.535569"], ["updated_at", "2015-12-23 09:16:16.535569"]]
3004
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
3008
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3009
+ MyForum::User Load (0.0ms) 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]]
3010
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3011
+  (0.0ms) SAVEPOINT active_record_1
3012
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.541443' WHERE "my_forum_users"."id" = ? [["id", 2]]
3013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3014
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3016
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3018
+ Unpermitted parameter: password
3019
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3020
+ MyForum::User Load (0.0ms) 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]]
3021
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3025
+  (0.7ms) rollback transaction
3026
+  (0.0ms) begin transaction
3027
+  (0.0ms) SAVEPOINT active_record_1
3028
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3029
+ MyForum::User Exists (0.5ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3030
+ SQL (0.2ms) 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.553281"], ["updated_at", "2015-12-23 09:16:16.553281"]]
3031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3032
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3037
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3039
+  (0.0ms) SAVEPOINT active_record_1
3040
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:16.561225' WHERE "my_forum_users"."id" = ? [["id", 2]]
3041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3042
+ MyForum::User Load (0.0ms) 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]]
3043
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) 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]]
3046
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3047
+ MyForum::User Load (0.0ms) 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]]
3048
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3049
+  (0.0ms) SAVEPOINT active_record_1
3050
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
3051
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
3052
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3054
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3056
+ Unpermitted parameter: password
3057
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3058
+ MyForum::User Load (0.0ms) 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]]
3059
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3063
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3064
+  (0.7ms) rollback transaction
3065
+  (0.0ms) begin transaction
3066
+ Processing by MyForum::UsersController#create as HTML
3067
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
3068
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3069
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3070
+  (0.0ms) SAVEPOINT active_record_1
3071
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3072
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3073
+ SQL (0.2ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3076
+ Redirected to http://test.host/my_forum/
3077
+ Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
3078
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
3079
+  (0.4ms) rollback transaction
3080
+  (0.0ms) begin transaction
3081
+  (0.0ms) rollback transaction
3082
+  (0.0ms) begin transaction
3083
+  (0.0ms) SAVEPOINT active_record_1
3084
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
3085
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
3086
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "df304ecabc0188113a0442ce8b4195a785d383122c6d3b72b5e61ccd2f2b1055"], ["salt", "097f472f57fe7c6e958ba581e67bde70b8b2c64edb7c5cd732d517bf767df6f7"], ["created_at", "2015-12-23 09:16:16.594704"], ["updated_at", "2015-12-23 09:16:16.594704"]]
3087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3088
+  (0.3ms) rollback transaction
3089
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3090
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3091
+  (0.1ms) begin transaction
3092
+  (0.0ms) SAVEPOINT active_record_1
3093
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3094
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3095
+ SQL (1.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3097
+ Processing by MyForum::UsersController#signin as HTML
3098
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
3099
+ MyForum::User Load (0.1ms) 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
+  (1.2ms) rollback transaction
3103
+  (0.0ms) begin transaction
3104
+ Processing by MyForum::UsersController#signin as HTML
3105
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
3106
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
3115
+  (0.0ms) begin transaction
3116
+  (0.0ms) SAVEPOINT active_record_1
3117
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3118
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3119
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3121
+ Processing by MyForum::UsersController#forgot_password as HTML
3122
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
3123
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.2ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
3125
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
3126
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3127
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3129
+  (0.0ms) SAVEPOINT active_record_1
3130
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.698159' WHERE "my_forum_users"."id" = ? [["id", 2]]
3131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3132
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
3133
+  (0.0ms) SAVEPOINT active_record_1
3134
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
3135
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "5a750abe77a0e4cb6cbe1680d839650c964160248e682efaa7378870d129138c"], ["salt", "d228a42b3a2d807dcc479731207f39e8b494a3be83740f047a7e7e50483f4352"], ["updated_at", "2015-12-23 09:16:40.709286"], ["id", 2]]
3137
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3180
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3181
+  (1.3ms) rollback transaction
3182
+  (0.1ms) begin transaction
3183
+  (0.0ms) SAVEPOINT active_record_1
3184
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3185
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3186
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3188
+ Processing by MyForum::UsersController#update as HTML
3189
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
3190
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3192
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3194
+  (0.0ms) SAVEPOINT active_record_1
3195
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.849262' WHERE "my_forum_users"."id" = ? [["id", 2]]
3196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3197
+ MyForum::User Load (0.0ms) 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]]
3198
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3199
+ MyForum::User Load (0.0ms) 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]]
3200
+ MyForum::UserGroupLink Load (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3203
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3205
+ Redirected to http://test.host/my_forum/users/2/edit
3206
+ Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
3207
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3208
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3209
+  (0.6ms) rollback transaction
3210
+  (0.1ms) begin transaction
3211
+  (0.0ms) SAVEPOINT active_record_1
3212
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3213
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3214
+ SQL (0.2ms) 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.861754"], ["updated_at", "2015-12-23 09:16:40.861754"]]
3215
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) 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]]
3219
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3220
+ MyForum::User Load (0.1ms) 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]]
3221
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3222
+  (0.1ms) SAVEPOINT active_record_1
3223
+ SQL (0.5ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.874517' WHERE "my_forum_users"."id" = ? [["id", 2]]
3224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3225
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3227
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3229
+ Unpermitted parameter: password
3230
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3231
+ MyForum::User Load (0.0ms) 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]]
3232
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3236
+  (0.6ms) rollback transaction
3237
+  (0.0ms) begin transaction
3238
+  (0.0ms) SAVEPOINT active_record_1
3239
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3240
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3241
+ SQL (0.1ms) 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.885435"], ["updated_at", "2015-12-23 09:16:40.885435"]]
3242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3243
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3248
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3250
+  (0.0ms) SAVEPOINT active_record_1
3251
+ SQL (0.7ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:16:40.891498' WHERE "my_forum_users"."id" = ? [["id", 2]]
3252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3253
+ MyForum::User Load (0.1ms) 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]]
3254
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) 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]]
3257
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3258
+ MyForum::User Load (0.0ms) 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]]
3259
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3260
+  (0.0ms) SAVEPOINT active_record_1
3261
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
3262
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
3263
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3265
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3267
+ Unpermitted parameter: password
3268
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3269
+ MyForum::User Load (0.0ms) 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]]
3270
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3274
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3275
+  (0.7ms) rollback transaction
3276
+  (0.0ms) begin transaction
3277
+ Processing by MyForum::UsersController#create as HTML
3278
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
3279
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3280
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3281
+  (0.0ms) SAVEPOINT active_record_1
3282
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3283
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3284
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3287
+ Redirected to http://test.host/my_forum/
3288
+ Completed 302 Found in 13ms (ActiveRecord: 0.8ms)
3289
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
3290
+  (0.4ms) rollback transaction
3291
+  (0.1ms) begin transaction
3292
+  (0.0ms) rollback transaction
3293
+  (0.0ms) begin transaction
3294
+  (0.0ms) SAVEPOINT active_record_1
3295
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
3296
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
3297
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "48f727a459fcbf7fa854a7002d9168c1d8b338397f6229d5eec63b9a95e53fd9"], ["salt", "fb437695201410a2b023cadd5f940d928c3fc1c843b514ba2f736eddc9cd2375"], ["created_at", "2015-12-23 09:16:40.930290"], ["updated_at", "2015-12-23 09:16:40.930290"]]
3298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3299
+  (0.3ms) rollback transaction
3300
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3301
+  (0.1ms) begin transaction
3302
+  (0.1ms) SAVEPOINT active_record_1
3303
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3304
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3305
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3307
+ Processing by MyForum::UsersController#signin as HTML
3308
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
3309
+ MyForum::User Load (0.2ms) 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
+  (1.2ms) rollback transaction
3313
+  (0.1ms) begin transaction
3314
+ Processing by MyForum::UsersController#signin as HTML
3315
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
3316
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["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
+ MyForum::User Load (0.0ms) 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
+  (0.1ms) rollback transaction
3325
+  (0.0ms) begin transaction
3326
+  (0.0ms) SAVEPOINT active_record_1
3327
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3328
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3329
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3331
+ Processing by MyForum::UsersController#forgot_password as HTML
3332
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
3333
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroup Load (0.1ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
3335
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
3336
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3337
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3339
+  (0.0ms) SAVEPOINT active_record_1
3340
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:00.964265' WHERE "my_forum_users"."id" = ? [["id", 2]]
3341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3342
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
3343
+  (0.1ms) SAVEPOINT active_record_1
3344
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
3345
+ MyForum::User Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "b4fd25ac21db3ce9efe434d23bca40d2d46748cf329c02927112f080fab88f68"], ["salt", "dbaf82ddf76ff5081a695b6fe1d0488159d1e66677b645ed7472a1d8ae1ec19e"], ["updated_at", "2015-12-23 09:17:00.977001"], ["id", 2]]
3347
+  (0.0ms) 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
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3390
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3391
+  (1.5ms) rollback transaction
3392
+  (0.1ms) begin transaction
3393
+  (0.0ms) SAVEPOINT active_record_1
3394
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3395
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3396
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3398
+ Processing by MyForum::UsersController#update as HTML
3399
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
3400
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3402
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3404
+  (0.0ms) SAVEPOINT active_record_1
3405
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.126938' WHERE "my_forum_users"."id" = ? [["id", 2]]
3406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3407
+ MyForum::User Load (0.0ms) 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]]
3408
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3409
+ MyForum::User Load (0.0ms) 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]]
3410
+ MyForum::UserGroupLink Load (0.0ms) 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
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3413
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3415
+ Redirected to http://test.host/my_forum/users/2/edit
3416
+ Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
3417
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3418
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3419
+  (0.7ms) rollback transaction
3420
+  (0.0ms) begin transaction
3421
+  (0.0ms) SAVEPOINT active_record_1
3422
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3423
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3424
+ SQL (0.1ms) 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.137674"], ["updated_at", "2015-12-23 09:17:01.137674"]]
3425
+  (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
3429
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3430
+ MyForum::User Load (0.0ms) 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]]
3431
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3432
+  (0.0ms) SAVEPOINT active_record_1
3433
+ SQL (0.4ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.143618' WHERE "my_forum_users"."id" = ? [["id", 2]]
3434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3435
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3437
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3439
+ Unpermitted parameter: password
3440
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3441
+ MyForum::User Load (0.0ms) 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]]
3442
+ MyForum::UserGroupLink Load (0.1ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3446
+  (0.5ms) rollback transaction
3447
+  (0.0ms) begin transaction
3448
+  (0.0ms) SAVEPOINT active_record_1
3449
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
3450
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
3451
+ SQL (0.2ms) 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.154906"], ["updated_at", "2015-12-23 09:17:01.154906"]]
3452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3453
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["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
+ MyForum::User Load (0.1ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3458
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3460
+  (0.1ms) SAVEPOINT active_record_1
3461
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 09:17:01.163800' WHERE "my_forum_users"."id" = ? [["id", 2]]
3462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3463
+ MyForum::User Load (0.0ms) 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]]
3464
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) 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]]
3467
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3468
+ MyForum::User Load (0.0ms) 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]]
3469
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3470
+  (0.0ms) SAVEPOINT active_record_1
3471
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
3472
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
3473
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3475
+ MyForum::User Load (0.0ms) 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
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
3477
+ Unpermitted parameter: password
3478
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
3479
+ MyForum::User Load (0.0ms) 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]]
3480
+ MyForum::UserGroupLink Load (0.0ms) 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
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3484
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
3485
+  (0.7ms) rollback transaction
3486
+  (0.0ms) begin transaction
3487
+ Processing by MyForum::UsersController#create as HTML
3488
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
3489
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3490
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3491
+  (0.1ms) SAVEPOINT active_record_1
3492
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
3493
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
3494
+ SQL (0.3ms) 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
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3497
+ Redirected to http://test.host/my_forum/
3498
+ Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
3499
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
3500
+  (0.4ms) rollback transaction
3501
+  (0.0ms) begin transaction
3502
+  (0.0ms) rollback transaction
3503
+  (0.0ms) begin transaction
3504
+  (0.1ms) SAVEPOINT active_record_1
3505
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
3506
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
3507
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "e607975fb5beeacf7cf60407e50717ea1935508afc4640d56f31a9a3eb55a96e"], ["salt", "a7958c11437416ef8d04b3cb74abd978e4422f90c9a50e42d83713593893c43a"], ["created_at", "2015-12-23 09:17:01.197412"], ["updated_at", "2015-12-23 09:17:01.197412"]]
3508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3509
+  (0.3ms) rollback transaction