my_forum 0.0.1.beta33 → 0.0.1.beta34
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd81f4bf37c610d579c869eae657636de20332cb
|
4
|
+
data.tar.gz: 4f8ef10b0431888c6920aca2d68d58d289f50090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 957b579821ddfd41ea1822fc6bbe110824f633e53f02750017135c31438c466e123f1751c7f99bd0dedd77c08e9a7cf96e4d660886dc823b525bc3d5f8e149b1
|
7
|
+
data.tar.gz: 30afa6ff93b9b28b168b86bfaad98939e06fa0dde50273d5b0dadf9c1f2e32971a77c8f1ed0351b4af79b0a878bc32e720a0e1c879e2db98d04f3edebd2ca30b
|
@@ -13,7 +13,6 @@ module MyForum
|
|
13
13
|
text.gsub!(/\[\/img\]/i, '" />')
|
14
14
|
|
15
15
|
# Youtube
|
16
|
-
#[?!\s]
|
17
16
|
text.gsub!(/(?:https?:\/\/)?(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=)?(?<video_code>[\w-]{10,})/i) do |match|
|
18
17
|
"<iframe width='560' height='315' src='https://www.youtube.com/embed/#{$~[:video_code]}' frameborder='0' allowfullscreen></iframe>"
|
19
18
|
end
|
@@ -35,7 +35,7 @@ module MyForum
|
|
35
35
|
JOIN my_forum_posts ON my_forum_posts.id = my_forum_topics.latest_post_id
|
36
36
|
JOIN my_forum_users ON my_forum_posts.user_id = my_forum_users.id
|
37
37
|
WHERE my_forum_topics.forum_id = #{self.id} AND my_forum_topics.deleted IS FALSE
|
38
|
-
ORDER BY my_forum_posts.id DESC
|
38
|
+
ORDER BY my_forum_topics.pinned DESC, my_forum_posts.id DESC
|
39
39
|
", page: page, per_page: per_page)
|
40
40
|
end
|
41
41
|
|
data/lib/my_forum/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -3507,3 +3507,213 @@ Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
|
|
3507
3507
|
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "e607975fb5beeacf7cf60407e50717ea1935508afc4640d56f31a9a3eb55a96e"], ["salt", "a7958c11437416ef8d04b3cb74abd978e4422f90c9a50e42d83713593893c43a"], ["created_at", "2015-12-23 09:17:01.197412"], ["updated_at", "2015-12-23 09:17:01.197412"]]
|
3508
3508
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3509
3509
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3510
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3511
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3512
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3513
|
+
[1m[35mMyForum::User Exists (0.4ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3514
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3515
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "bece818712284d9f181257128f09c2338c05eae4ba4d3ba4339297c344033771"], ["email", "demo@example.com"], ["salt", "be10b8efe28992c68a3c94457a18d54867688d622c6ef2f1e1ff62a1e1ac045d"], ["created_at", "2015-12-23 10:45:43.960219"], ["updated_at", "2015-12-23 10:45:43.960219"]]
|
3516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3517
|
+
Processing by MyForum::UsersController#signin as HTML
|
3518
|
+
Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
|
3519
|
+
[1m[35mMyForum::User Load (0.2ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
|
3520
|
+
Redirected to http://test.host/my_forum/
|
3521
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
3522
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3524
|
+
Processing by MyForum::UsersController#signin as HTML
|
3525
|
+
Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
|
3526
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1[0m [["login", ""]]
|
3527
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
|
3528
|
+
Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 0.1ms)
|
3529
|
+
Processing by MyForum::UsersController#signin as HTML
|
3530
|
+
Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
|
3531
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
|
3532
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
|
3533
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3537
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3538
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3539
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "bece818712284d9f181257128f09c2338c05eae4ba4d3ba4339297c344033771"], ["email", "demo@example.com"], ["salt", "be10b8efe28992c68a3c94457a18d54867688d622c6ef2f1e1ff62a1e1ac045d"], ["created_at", "2015-12-23 10:45:43.999559"], ["updated_at", "2015-12-23 10:45:43.999559"]]
|
3540
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3541
|
+
Processing by MyForum::UsersController#forgot_password as HTML
|
3542
|
+
Parameters: {"user"=>{"email"=>"demo@example.com"}}
|
3543
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3544
|
+
[1m[36mMyForum::UserGroup Load (0.5ms)[0m [1mSELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1[0m [["name", "Guests"]]
|
3545
|
+
[1m[35mMyForum::UserGroup Load (0.0ms)[0m SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
|
3546
|
+
[1m[36mMyForum::UserGroupLink Load (0.4ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3547
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3548
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3550
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 10:45:44.048965' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3552
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "demo@example.com"]]
|
3553
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3554
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3555
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
|
3556
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ?[0m [["password", "5c408f0747b1ed44af3499404851d29cd7cab7ef74d0ac05faec35d6280ad742"], ["salt", "a08b6098e7dbb8859278c088fffcbccc667a659fccd40e86199198adeb2904be"], ["updated_at", "2015-12-23 10:45:44.062403"], ["id", 2]]
|
3557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3558
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.3ms)
|
3559
|
+
Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (0.8ms)
|
3560
|
+
|
3561
|
+
MyForum::UserMailer#reset_password_email: processed outbound mail in 146.9ms
|
3562
|
+
|
3563
|
+
Sent mail to demo@example.com (6.3ms)
|
3564
|
+
Date: Wed, 23 Dec 2015 12:45:44 +0200
|
3565
|
+
From: from@example.com
|
3566
|
+
To: demo@example.com
|
3567
|
+
Message-ID: <567a7b5833377_79fc3fe6a0c5e204606a@Vitalys-MacBook-Pro.local.mail>
|
3568
|
+
Subject: vaz.od.ua - New password
|
3569
|
+
Mime-Version: 1.0
|
3570
|
+
Content-Type: multipart/alternative;
|
3571
|
+
boundary="--==_mimepart_567a7b5832300_79fc3fe6a0c5e204605d7";
|
3572
|
+
charset=UTF-8
|
3573
|
+
Content-Transfer-Encoding: 7bit
|
3574
|
+
|
3575
|
+
|
3576
|
+
----==_mimepart_567a7b5832300_79fc3fe6a0c5e204605d7
|
3577
|
+
Content-Type: text/plain;
|
3578
|
+
charset=UTF-8
|
3579
|
+
Content-Transfer-Encoding: 7bit
|
3580
|
+
|
3581
|
+
Your new password is: zGyQvObzkL
|
3582
|
+
|
3583
|
+
----==_mimepart_567a7b5832300_79fc3fe6a0c5e204605d7
|
3584
|
+
Content-Type: text/html;
|
3585
|
+
charset=UTF-8
|
3586
|
+
Content-Transfer-Encoding: 7bit
|
3587
|
+
|
3588
|
+
<html>
|
3589
|
+
<body>
|
3590
|
+
Your new password is: zGyQvObzkL
|
3591
|
+
|
3592
|
+
</body>
|
3593
|
+
</html>
|
3594
|
+
|
3595
|
+
----==_mimepart_567a7b5832300_79fc3fe6a0c5e204605d7--
|
3596
|
+
|
3597
|
+
Redirected to http://test.host/my_forum/
|
3598
|
+
Completed 302 Found in 210ms (ActiveRecord: 2.4ms)
|
3599
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3600
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3601
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3603
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3604
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
|
3605
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1[0m
|
3606
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "a95e478442d91f669822822a8223c4574415f559961c98230b708afa2d5c964b"], ["email", "demo@example.com"], ["salt", "761c6c5beeef80cdcac86403e1d8697bc139af030be2e6a2b55be282e7fcf39d"], ["created_at", "2015-12-23 10:45:44.220151"], ["updated_at", "2015-12-23 10:45:44.220151"]]
|
3607
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3608
|
+
Processing by MyForum::UsersController#update as HTML
|
3609
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3610
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3611
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3612
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3613
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3615
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 10:45:44.227858' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3616
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3617
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3618
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3619
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3620
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3621
|
+
Unpermitted parameter: password
|
3622
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3623
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3624
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3625
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3626
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
3627
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3628
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3629
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3632
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3633
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3634
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a95e478442d91f669822822a8223c4574415f559961c98230b708afa2d5c964b"], ["email", "demo@example.com"], ["salt", "761c6c5beeef80cdcac86403e1d8697bc139af030be2e6a2b55be282e7fcf39d"], ["created_at", "2015-12-23 10:45:44.240140"], ["updated_at", "2015-12-23 10:45:44.240140"]]
|
3635
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3636
|
+
Processing by MyForum::UsersController#update as HTML
|
3637
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
|
3638
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3639
|
+
[1m[35mMyForum::UserGroupLink Load (0.1ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3640
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3641
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3642
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3643
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "my_forum_users" SET "updated_at" = '2015-12-23 10:45:44.247975' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3644
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3645
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3646
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3647
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3648
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3649
|
+
Unpermitted parameter: password
|
3650
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3651
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3652
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3653
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3654
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
3655
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3656
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3659
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1[0m
|
3660
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
|
3661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["login", "demo"], ["password", "a95e478442d91f669822822a8223c4574415f559961c98230b708afa2d5c964b"], ["email", "demo@example.com"], ["salt", "761c6c5beeef80cdcac86403e1d8697bc139af030be2e6a2b55be282e7fcf39d"], ["created_at", "2015-12-23 10:45:44.259770"], ["updated_at", "2015-12-23 10:45:44.259770"]]
|
3662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3663
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3664
|
+
Processing by MyForum::UsersController#update as HTML
|
3665
|
+
Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
|
3666
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3667
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3668
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3669
|
+
[1m[36mMyForum::UserGroupLink Load (0.1ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3670
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3671
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "my_forum_users" SET "updated_at" = '2015-12-23 10:45:44.268845' WHERE "my_forum_users"."id" = ?[0m [["id", 2]]
|
3672
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3673
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3674
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3675
|
+
Unpermitted parameter: new_password
|
3676
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3677
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3678
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3679
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3681
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
|
3682
|
+
[1m[36mMyForum::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1[0m
|
3683
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "442b77afacb24914e3c54176bfb38032e32ca94c760e57d155bf43104562aced"], ["salt", "06515a0a1b628ad116a42df5f8ddd698276b3ae612e7d0621ec3531faf0e3bab"], ["updated_at", "2015-12-23 10:45:44.274516"], ["id", 2]]
|
3684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3685
|
+
[1m[35mMyForum::User Load (0.1ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
|
3686
|
+
[1m[36mMyForum::UserGroupLink Load (0.0ms)[0m [1mSELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)[0m
|
3687
|
+
Unpermitted parameter: password
|
3688
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
|
3689
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1[0m [["id", 2]]
|
3690
|
+
[1m[35mMyForum::UserGroupLink Load (0.0ms)[0m SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
|
3691
|
+
Redirected to http://test.host/my_forum/users/2/edit
|
3692
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.2ms)
|
3693
|
+
[1m[36mMyForum::User Load (0.0ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3694
|
+
[1m[35mMyForum::User Load (0.0ms)[0m SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
|
3695
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3697
|
+
Processing by MyForum::UsersController#create as HTML
|
3698
|
+
Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
|
3699
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1[0m
|
3700
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
|
3701
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3702
|
+
[1m[35mMyForum::User Exists (0.1ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
|
3703
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1[0m
|
3704
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "c51755a02a0ed8944e9c581688d4880ece0512f782a36b38ae6f27e5d741cf8d"], ["salt", "3f2b1a363eb37e7ec987638de306fd2bc39729c2a3848ae81eec763aa9f5783d"], ["created_at", "2015-12-23 10:45:44.294396"], ["updated_at", "2015-12-23 10:45:44.294396"]]
|
3705
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-12-23 10:45:44.295733"], ["updated_at", "2015-12-23 10:45:44.295733"]]
|
3706
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3707
|
+
Redirected to http://test.host/my_forum/
|
3708
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
|
3709
|
+
[1m[36mMyForum::User Load (0.1ms)[0m [1mSELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."is_deleted" = 'f' AND "my_forum_users"."email" = ? LIMIT 1[0m [["email", "new_user@google.com"]]
|
3710
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3711
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3714
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3715
|
+
[1m[36mMyForum::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1[0m
|
3716
|
+
[1m[35mMyForum::User Exists (0.0ms)[0m SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
|
3717
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["password", "649ff51c6d3681c30649b9c6adbc4e690518fdfecc09a44d897e9b548946a72f"], ["salt", "5a5085dec088164652083a05a5a400bac5dd91b8cab3e4e26bb8e302e959bf89"], ["created_at", "2015-12-23 10:45:44.307424"], ["updated_at", "2015-12-23 10:45:44.307424"]]
|
3718
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3719
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|