1
|
Started GET "/users/5/memberships/new.html" for ::1 at 2018-05-15 11:15:11 +0200
|
2
|
Processing by PrincipalMembershipsController#new as HTML
|
3
|
Parameters: {"user_id"=>"5"}
|
4
|
SQL (1.0ms) UPDATE `tokens` SET `tokens`.`updated_on` = '2018-05-15 11:15:11' WHERE `tokens`.`user_id` = 6 AND `tokens`.`value` = '11552112f079ce8f14fe4f0916c5253c5f8c9dea' AND `tokens`.`action` = 'session' AND (created_on > '2018-05-15 03:15:11') AND (updated_on > '2018-05-15 09:15:11')
|
5
|
(0.2ms) SELECT MAX(`settings`.`updated_on`) FROM `settings`
|
6
|
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`status` = 1 AND `users`.`id` = 6 LIMIT 1
|
7
|
Current user: songagna (id=6)
|
8
|
Principal Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1
|
9
|
Role Load (0.2ms) SELECT `roles`.* FROM `roles` WHERE `roles`.`builtin` = 0 ORDER BY `roles`.`position` ASC
|
10
|
(0.2ms) SELECT COUNT(*) FROM `projects` WHERE `projects`.`status` = 1
|
11
|
Project Load (0.2ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`status` = 1
|
12
|
(0.2ms) SELECT `projects`.id FROM `projects` INNER JOIN `members` ON `projects`.`id` = `members`.`project_id` WHERE `members`.`user_id` = 5 AND (`projects`.`status` != 9)
|
13
|
Rendered principal_memberships/_new_form.html.erb (3.6ms)
|
14
|
Rendered principal_memberships/new.html.erb within layouts/admin (6.4ms)
|
15
|
Rendered admin/_menu.html.erb (2.4ms)
|
16
|
UserPreference Load (0.2ms) SELECT `user_preferences`.* FROM `user_preferences` WHERE `user_preferences`.`user_id` = 6 LIMIT 1
|
17
|
Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_html_head.html.erb (0.9ms)
|
18
|
Rendered plugins/global_roles/app/views/hooks/global_roles/_head.html.erb (0.1ms)
|
19
|
Rendered inline template (0.4ms)
|
20
|
Project Load (0.2ms) SELECT `projects`.`id`, `projects`.`name`, `projects`.`identifier`, `projects`.`lft`, `projects`.`rgt` FROM `projects` INNER JOIN `members` ON `projects`.`id` = `members`.`project_id` WHERE `members`.`user_id` = 6 AND (`projects`.`status` != 9) AND `projects`.`status` = 1
|
21
|
Rendered plugins/global_roles/app/views/hooks/global_roles/_view_layouts_base_body_bottom.html.erb (0.0ms)
|
22
|
Rendered layouts/base.html.erb (8.9ms)
|
23
|
Completed 200 OK in 30ms (Views: 22.1ms | ActiveRecord: 2.9ms)
|