# Logfile created on 2022-01-18 20:40:42 +0000 by logger.rb/56815 DEPRECATION WARNING: Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. (called from include at /var/www/app/app/models/user.rb:15) Started GET "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/edit" for 172.27.0.1 at 2022-01-18 20:40:53 +0000 ActiveRecord::NoDatabaseError - FATAL: role "postgres" does not exist : Started POST "/__better_errors/952b700a37d548a3/variables" for 172.27.0.1 at 2022-01-18 20:40:54 +0000 Started GET "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/edit" for 172.27.0.1 at 2022-01-18 20:41:23 +0000 ActiveRecord::NoDatabaseError - FATAL: role "postgres" does not exist : Started POST "/__better_errors/c71a495b92be77eb/variables" for 172.27.0.1 at 2022-01-18 20:41:24 +0000 DEPRECATION WARNING: Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. (called from include at /var/www/app/app/models/user.rb:15) Started GET "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/edit" for 172.27.0.1 at 2022-01-18 20:41:47 +0000 ActiveRecord::NoDatabaseError - FATAL: role "postgres" does not exist : Started POST "/__better_errors/77733857e5551b4b/variables" for 172.27.0.1 at 2022-01-18 20:41:47 +0000 DEPRECATION WARNING: Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. (called from include at /var/www/app/app/models/user.rb:15)  (0.7ms) SELECT "sections"."slug" FROM "sections" Started GET "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/edit" for 172.27.0.1 at 2022-01-18 20:42:27 +0000  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Admin Load (0.7ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UserAssociateAdminController#edit as HTML Parameters: {"id"=>"52e990b9-a1b9-49c5-bba9-0aed1061de4c"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."created_at" DESC LIMIT $2 [["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Associate Load (0.6ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Rendering user_associate_admin/edit.html.haml within layouts/admin AssociationType Load (0.8ms) SELECT "association_types".* FROM "association_types" AssociationType Load (0.4ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Rendered user_associate_admin/edit.html.haml within layouts/admin (1067.2ms) DEPRECATION WARNING: Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. (called from include at /var/www/app/app/models/user.rb:15)  (0.6ms) SELECT "sections"."slug" FROM "sections" Started GET "/jabba" for 172.27.0.1 at 2022-01-18 20:44:45 +0000  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Processing by DashboardsController#home as HTML Admin Load (0.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Rendering dashboards/home.html.haml within layouts/admin Rendered dashboards/home.html.haml within layouts/admin (26.2ms) Rendered layouts/_header.html.haml (4.4ms) Rendered layouts/_sidebar.html.haml (41.1ms) Completed 200 OK in 273218ms (Views: 272822.6ms | ActiveRecord: 5.5ms) Started GET "/admin/users" for 172.27.0.1 at 2022-01-18 20:49:28 +0000 Admin Load (0.7ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UsersController#index as HTML  (0.7ms) SELECT COUNT(*) FROM "users" Rendering users/index.html.haml within layouts/admin AssociationType Load (0.8ms) SELECT "association_types".* FROM "association_types" Rendered users/_filter.html.haml (275.6ms) User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."created_at" DESC LIMIT $1 OFFSET $2 [["LIMIT", 50], ["OFFSET", 0]] Associate Load (0.7ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] AssociationType Load (0.4ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Rendered users/index.html.haml within layouts/admin (1249.0ms) Rendered layouts/_header.html.haml (3.6ms) Rendered layouts/_sidebar.html.haml (22.1ms) Completed 200 OK in 2471ms (Views: 2304.9ms | ActiveRecord: 13.4ms) Started GET "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/edit" for 172.27.0.1 at 2022-01-18 20:49:43 +0000 Admin Load (0.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UserAssociateAdminController#edit as HTML Parameters: {"id"=>"52e990b9-a1b9-49c5-bba9-0aed1061de4c"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."created_at" DESC LIMIT $2 [["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Associate Load (0.5ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Rendering user_associate_admin/edit.html.haml within layouts/admin AssociationType Load (0.6ms) SELECT "association_types".* FROM "association_types" AssociationType Load (0.4ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Rendered user_associate_admin/edit.html.haml within layouts/admin (873.2ms) Rendered layouts/_header.html.haml (3.3ms) Rendered layouts/_sidebar.html.haml (19.8ms) Completed 200 OK in 2051ms (Views: 1904.7ms | ActiveRecord: 2.1ms) Started POST "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/update" for 172.27.0.1 at 2022-01-18 20:49:56 +0000 Admin Load (0.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UserAssociateAdminController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MCrE0V5LGtggX+kGLxAd665ZmQz8MPQkMlB4GHID9e5r9GTR10/o+wPmhXSITg3LnvfCL+tMAaKqEnbDX/Ul1Q==", "user_associate_admin_edit_form"=>{"name"=>"Marcelo Junior", "birthday(3i)"=>"8", "birthday(2i)"=>"7", "birthday(1i)"=>"1990", "cpf"=>"43388408890", "phone"=>"(19) 9985-53645", "email"=>"minternauta@outlook.com", "address_street"=>"Rua Pedreira", "address_number"=>"558", "address_complement"=>"", "neighborhood"=>"Jardim Novo Campos Elíseos", "zipcode"=>"13050544", "city"=>"Campinas", "state"=>"São Paulo", "country"=>"BR", "institution"=>"", "approval_payment_date(3i)"=>"14", "approval_payment_date(2i)"=>"1", "approval_payment_date(1i)"=>"2022", "valid_until(3i)"=>"17", "valid_until(2i)"=>"1", "valid_until(1i)"=>"2022", "conclusion_date(3i)"=>"18", "conclusion_date(2i)"=>"1", "conclusion_date(1i)"=>"2022", "acting_medium"=>"TI", "color_or_race"=>"indigenous", "gender"=>"male", "activity_description"=>"TI", "newsletter"=>"0", "active"=>"1", "association_type_id"=>"c2d490a1-804a-44af-bee5-81cd6be03d4c"}, "commit"=>"Atualizar", "id"=>"52e990b9-a1b9-49c5-bba9-0aed1061de4c"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."created_at" DESC LIMIT $2 [["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Associate Load (0.4ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.2ms) BEGIN User Exists (0.8ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 AND "users"."id" != $2 LIMIT $3 [["email", "minternauta@outlook.com"], ["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.3ms) COMMIT  (0.2ms) BEGIN AssociationType Load (0.3ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Associate Exists (0.6ms) SELECT 1 AS one FROM "associates" WHERE "associates"."cpf" = $1 AND "associates"."id" != $2 LIMIT $3 [["cpf", "43388408890"], ["id", "2ac41717-806a-4d44-9c18-40a829c73535"], ["LIMIT", 1]]  (0.3ms) ROLLBACK Rendering user_associate_admin/edit.html.haml within layouts/admin AssociationType Load (0.7ms) SELECT "association_types".* FROM "association_types" Rendered user_associate_admin/edit.html.haml within layouts/admin (513.5ms) Rendered layouts/_header.html.haml (3.0ms) Rendered layouts/_sidebar.html.haml (21.6ms) Completed 200 OK in 1693ms (Views: 1554.0ms | ActiveRecord: 4.3ms) Started POST "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/update" for 172.27.0.1 at 2022-01-18 20:50:27 +0000 DEPRECATION WARNING: Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. (called from include at /var/www/app/app/models/user.rb:15)  (0.5ms) SELECT "sections"."slug" FROM "sections" Admin Load (0.4ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UserAssociateAdminController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X6Py/0t1mtnSJQ8g9imizZEdA5bwIkMVYs8es+PH5r99h+lukT5I4ZRzmNTuN8pDvLuroVIZb6qNd7aAt7ZhKg==", "user_associate_admin_edit_form"=>{"name"=>"Marcelo Junior", "birthday(3i)"=>"8", "birthday(2i)"=>"7", "birthday(1i)"=>"1990", "cpf"=>"43388408890", "phone"=>"(19) 9985-53645", "email"=>"minternauta@outlook.com", "address_street"=>"Rua Pedreira", "address_number"=>"558", "address_complement"=>"", "neighborhood"=>"Jardim Novo Campos Elíseos", "zipcode"=>"13050544", "city"=>"Campinas", "state"=>"São Paulo", "country"=>"BR", "institution"=>"", "approval_payment_date(3i)"=>"14", "approval_payment_date(2i)"=>"1", "approval_payment_date(1i)"=>"2022", "valid_until(3i)"=>"17", "valid_until(2i)"=>"1", "valid_until(1i)"=>"2022", "conclusion_date(3i)"=>"18", "conclusion_date(2i)"=>"1", "conclusion_date(1i)"=>"2022", "acting_medium"=>"TI", "color_or_race"=>"indigenous", "gender"=>"male", "activity_description"=>"TI", "newsletter"=>"0", "active"=>"1", "association_type_id"=>"c2d490a1-804a-44af-bee5-81cd6be03d4c"}, "commit"=>"Atualizar", "id"=>"52e990b9-a1b9-49c5-bba9-0aed1061de4c"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."created_at" DESC LIMIT $2 [["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Associate Load (0.5ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.4ms) BEGIN User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 AND "users"."id" != $2 LIMIT $3 [["email", "minternauta@outlook.com"], ["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.3ms) COMMIT  (0.3ms) BEGIN AssociationType Load (0.3ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Associate Exists (0.7ms) SELECT 1 AS one FROM "associates" WHERE "associates"."cpf" = $1 AND "associates"."id" != $2 LIMIT $3 [["cpf", "43388408890"], ["id", "2ac41717-806a-4d44-9c18-40a829c73535"], ["LIMIT", 1]]  (0.4ms) ROLLBACK Rendering user_associate_admin/edit.html.haml within layouts/admin AssociationType Load (0.7ms) SELECT "association_types".* FROM "association_types" Rendered user_associate_admin/edit.html.haml within layouts/admin (617.9ms) Rendered layouts/_header.html.haml (3.7ms) Rendered layouts/_sidebar.html.haml (23.5ms) Completed 200 OK in 2559ms (Views: 1656.6ms | ActiveRecord: 13.7ms) Started POST "/admin/user_associate/52e990b9-a1b9-49c5-bba9-0aed1061de4c/update" for 172.27.0.1 at 2022-01-18 20:51:36 +0000 Admin Load (0.4ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 ORDER BY "admins"."id" ASC LIMIT $2 [["id", "3c2c8466-a894-405b-9077-e12409311e4c"], ["LIMIT", 1]] Processing by UserAssociateAdminController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kiMEF7iUyYfKnfYAWiaY9rHESkazEqfmorvsdWkBBlKwBx+GYt8bv4zLYfRCOPB4nGLicREpi1lNA0RGPXCBxw==", "user_associate_admin_edit_form"=>{"name"=>"Marcelo Junior", "birthday(3i)"=>"8", "birthday(2i)"=>"7", "birthday(1i)"=>"1990", "cpf"=>"43388408890", "phone"=>"(19) 9985-53645", "email"=>"minternauta@outlook.com", "address_street"=>"Rua Pedreira", "address_number"=>"558", "address_complement"=>"", "neighborhood"=>"Jardim Novo Campos Elíseos", "zipcode"=>"13050544", "city"=>"Campinas", "state"=>"São Paulo", "country"=>"BR", "institution"=>"", "approval_payment_date(3i)"=>"14", "approval_payment_date(2i)"=>"1", "approval_payment_date(1i)"=>"2022", "valid_until(3i)"=>"17", "valid_until(2i)"=>"1", "valid_until(1i)"=>"2022", "conclusion_date(3i)"=>"18", "conclusion_date(2i)"=>"1", "conclusion_date(1i)"=>"2022", "acting_medium"=>"TI", "color_or_race"=>"indigenous", "gender"=>"male", "activity_description"=>"TI", "newsletter"=>"0", "active"=>"1", "association_type_id"=>"c2d490a1-804a-44af-bee5-81cd6be03d4c"}, "commit"=>"Atualizar", "id"=>"52e990b9-a1b9-49c5-bba9-0aed1061de4c"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."created_at" DESC LIMIT $2 [["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]] Associate Load (0.4ms) SELECT "associates".* FROM "associates" WHERE "associates"."user_id" = $1 ORDER BY "associates"."accepted_terms_at" DESC LIMIT $2 [["user_id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.2ms) BEGIN User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 AND "users"."id" != $2 LIMIT $3 [["email", "minternauta@outlook.com"], ["id", "52e990b9-a1b9-49c5-bba9-0aed1061de4c"], ["LIMIT", 1]]  (0.3ms) COMMIT  (0.3ms) BEGIN AssociationType Load (0.3ms) SELECT "association_types".* FROM "association_types" WHERE "association_types"."id" = $1 LIMIT $2 [["id", "c2d490a1-804a-44af-bee5-81cd6be03d4c"], ["LIMIT", 1]] Associate Exists (0.6ms) SELECT 1 AS one FROM "associates" WHERE "associates"."cpf" = $1 AND "associates"."id" != $2 LIMIT $3 [["cpf", "43388408890"], ["id", "2ac41717-806a-4d44-9c18-40a829c73535"], ["LIMIT", 1]]  (0.3ms) ROLLBACK Rendering user_associate_admin/edit.html.haml within layouts/admin AssociationType Load (0.8ms) SELECT "association_types".* FROM "association_types" Rendered user_associate_admin/edit.html.haml within layouts/admin (527.8ms) Rendered layouts/_header.html.haml (3.5ms) Rendered layouts/_sidebar.html.haml (20.2ms) Completed 200 OK in 1705ms (Views: 1568.8ms | ActiveRecord: 4.1ms)