diff --git a/Erros/Action Controller_ Exception caught_quando Cria uma consolidação.html b/Erros/Action Controller_ Exception caught_quando Cria uma consolidação.html new file mode 100644 index 0000000..2d59e8f --- /dev/null +++ b/Erros/Action Controller_ Exception caught_quando Cria uma consolidação.html @@ -0,0 +1,3987 @@ + + + + + + + Action Controller: Exception caught + + + + + + +
+

+ NoMethodError + in ConsolidacoesController#new +

+
+ +
+
+
undefined method `new?' for #<ConsolidacaoPolicy:0x00007f710ab493f8 @user=#<User id: 1, email: "admin@gade.com", nome: "Administrador Gade", telefone: nil, pin_code: nil, role: "admin", ativo: true, tema_preferido: "dark", created_at: "2026-06-11 23:00:11.605256000 -0300", updated_at: "2026-06-11 23:00:11.605256000 -0300", login_token: nil>, @record=Consolidacao(id: integer, nome: string, data_inicio: date, data_fim: date, status: integer, valor_total: decimal, created_by: integer, finalizado_por: integer, finalizado_em: datetime, deleted_at: datetime, created_at: datetime, updated_at: datetime, route_ids: jsonb, arquivado_por: integer, arquivado_em: datetime)>
+
+ + + + + + + + +
+
+ Extracted source (around line #32): +
+
+ + + + + +
+
+30
+31
+32
+33
+34
+35
+              
+
+
+
# GET /consolidacoes/new +
def new +
authorize Consolidacao +
@consolidacao = Consolidacao.new( +
data_inicio: Date.current.beginning_of_month, +
data_fim: Date.current +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Rails.root: /app

+ +
+ Application Trace | + Framework Trace | + Full Trace + + + + + + +
+ + + + +

Request

+

Parameters:

None
+ +
+ + +
+ +
+ + +
+ +

Response

+

Headers:

None
+ +
+ + + + diff --git a/Erros/Action Controller_ Exception caught_quando aperta na parte de usuario.html b/Erros/Action Controller_ Exception caught_quando aperta na parte de usuario.html new file mode 100644 index 0000000..0cc889a --- /dev/null +++ b/Erros/Action Controller_ Exception caught_quando aperta na parte de usuario.html @@ -0,0 +1,4027 @@ + + + + + + + Action Controller: Exception caught + + + + + + +
+

+ NoMethodError + in Admin::UsuariosController#index +

+
+ +
+
+
undefined method `admin_ou_gerente?' for #<UserPolicy:0x00007f710b57d3d8 @user=#<User id: 1, email: "admin@gade.com", nome: "Administrador Gade", telefone: nil, pin_code: nil, role: "admin", ativo: true, tema_preferido: "dark", created_at: "2026-06-11 23:00:11.605256000 -0300", updated_at: "2026-06-11 23:00:11.605256000 -0300", login_token: nil>, @record=User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, nome: string, telefone: string, pin_code: string, role: integer, ativo: boolean, tema_preferido: string, created_at: datetime, updated_at: datetime, login_token: string, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, failed_attempts: integer, unlock_token: string, locked_at: datetime)>
+
+ + + + + +
+
+ Extracted source (around line #4): +
+
+ + + + + +
+
+2
+3
+4
+5
+6
+7
+              
+
+
+
class UserPolicy < ApplicationPolicy +
def index? +
admin_ou_gerente? +
end +
+
def show? +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Rails.root: /app

+ +
+ Application Trace | + Framework Trace | + Full Trace + + + + + + +
+ + + + +

Request

+

Parameters:

None
+ +
+ + +
+ +
+ + +
+ +

Response

+

Headers:

None
+ +
+ + + + diff --git a/Erros/Action Controller_ Exception caughtq_quando aperta para sair .html b/Erros/Action Controller_ Exception caughtq_quando aperta para sair .html new file mode 100644 index 0000000..9a90010 --- /dev/null +++ b/Erros/Action Controller_ Exception caughtq_quando aperta para sair .html @@ -0,0 +1,2130 @@ + + + + + + + Action Controller: Exception caught + + + + + + +
+

Routing Error

+
+
+

No route matches [GET] "/auth/logout"

+ + +

Rails.root: /app

+ +
+ Application Trace | + Framework Trace | + Full Trace + +
+ + +
+ + + + +
+ + +

+ Routes +

+ +

+ Routes match in priority from top to bottom +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Helper + (Path / + Url) + HTTP VerbPathController#ActionSource Location
+ new_user_session_path + + GET + + /auth/login(.:format) + +

users/sessions#new

+
+

devise (5.0.4) lib/devise/rails/routes.rb:378

+
+ user_session_path + + POST + + /auth/login(.:format) + +

users/sessions#create

+
+

devise (5.0.4) lib/devise/rails/routes.rb:379

+
+ destroy_user_session_path + + DELETE + + /auth/logout(.:format) + +

users/sessions#destroy

+
+

devise (5.0.4) lib/devise/rails/routes.rb:380

+
+ new_user_password_path + + GET + + /auth/senha/new(.:format) + +

devise/passwords#new

+
+

devise (5.0.4) lib/devise/rails/routes.rb:385

+
+ edit_user_password_path + + GET + + /auth/senha/edit(.:format) + +

devise/passwords#edit

+
+

devise (5.0.4) lib/devise/rails/routes.rb:385

+
+ user_password_path + + PATCH + + /auth/senha(.:format) + +

devise/passwords#update

+
+

devise (5.0.4) lib/devise/rails/routes.rb:385

+
+ + PUT + + /auth/senha(.:format) + +

devise/passwords#update

+
+

devise (5.0.4) lib/devise/rails/routes.rb:385

+
+ + POST + + /auth/senha(.:format) + +

devise/passwords#create

+
+

devise (5.0.4) lib/devise/rails/routes.rb:385

+
+ root_path + + GET + + / + +

dashboard#index

+
+

/app/config/routes.rb:13

+
+ dashboard_path + + GET + + /dashboard(.:format) + +

dashboard#index

+
+

/app/config/routes.rb:16

+
+ motorista_dashboard_path + + GET + + /motorista(.:format) + +

motorista/dashboard#index

+
+

/app/config/routes.rb:19

+
+ motorista_login_path + + GET + + /motorista/login(.:format) + +

motorista/sessoes#new

+
+

/app/config/routes.rb:22

+
+ + POST + + /motorista/login(.:format) + +

motorista/sessoes#create

+
+

/app/config/routes.rb:23

+
+ motorista_acesso_qr_path + + GET + + /motorista/acesso/:token(.:format) + +

motorista/sessoes#acesso_qr

+
+

/app/config/routes.rb:24

+
+ wizard_consolidacao_path + + GET + + /consolidacoes/:id/wizard(.:format) + +

consolidacoes#wizard

+
+

/app/config/routes.rb:29

+
+ finalizar_consolidacao_path + + POST + + /consolidacoes/:id/finalizar(.:format) + +

consolidacoes#finalizar

+
+

/app/config/routes.rb:30

+
+ arquivar_consolidacao_path + + POST + + /consolidacoes/:id/arquivar(.:format) + +

consolidacoes#arquivar

+
+

/app/config/routes.rb:31

+
+ preview_holerite_consolidacao_path + + GET + + /consolidacoes/:id/preview_holerite(.:format) + +

consolidacoes#preview_holerite

+
+

/app/config/routes.rb:32

+
+ gerar_pdf_relatorio_consolidacao_path + + GET + + /consolidacoes/:id/gerar_pdf_relatorio(.:format) + +

consolidacoes#gerar_pdf_relatorio

+
+

/app/config/routes.rb:33

+
+ gerar_pdf_holerite_consolidacao_path + + GET + + /consolidacoes/:id/gerar_pdf_holerite(.:format) + +

consolidacoes#gerar_pdf_holerite

+
+

/app/config/routes.rb:34

+
+ validar_consolidacao_consolidacao_entregas_path + + GET + + /consolidacoes/:consolidacao_id/consolidacao_entregas/validar(.:format) + +

consolidacao_entregas#validar

+
+

/app/config/routes.rb:39

+
+ classificar_consolidacao_consolidacao_entregas_path + + POST + + /consolidacoes/:consolidacao_id/consolidacao_entregas/classificar(.:format) + +

consolidacao_entregas#classificar

+
+

/app/config/routes.rb:40

+
+ classificar_em_massa_consolidacao_consolidacao_entregas_path + + POST + + /consolidacoes/:consolidacao_id/consolidacao_entregas/classificar_em_massa(.:format) + +

consolidacao_entregas#classificar_em_massa

+
+

/app/config/routes.rb:41

+
+ revisar_consolidacao_consolidacao_entregas_path + + GET + + /consolidacoes/:consolidacao_id/consolidacao_entregas/revisar(.:format) + +

consolidacao_entregas#revisar

+
+

/app/config/routes.rb:42

+
+ consolidacoes_path + + GET + + /consolidacoes(.:format) + +

consolidacoes#index

+
+

/app/config/routes.rb:27

+
+ + POST + + /consolidacoes(.:format) + +

consolidacoes#create

+
+

/app/config/routes.rb:27

+
+ new_consolidacao_path + + GET + + /consolidacoes/new(.:format) + +

consolidacoes#new

+
+

/app/config/routes.rb:27

+
+ edit_consolidacao_path + + GET + + /consolidacoes/:id/edit(.:format) + +

consolidacoes#edit

+
+

/app/config/routes.rb:27

+
+ consolidacao_path + + GET + + /consolidacoes/:id(.:format) + +

consolidacoes#show

+
+

/app/config/routes.rb:27

+
+ + PATCH + + /consolidacoes/:id(.:format) + +

consolidacoes#update

+
+

/app/config/routes.rb:27

+
+ + PUT + + /consolidacoes/:id(.:format) + +

consolidacoes#update

+
+

/app/config/routes.rb:27

+
+ + DELETE + + /consolidacoes/:id(.:format) + +

consolidacoes#destroy

+
+

/app/config/routes.rb:27

+
+ toggle_ativo_admin_usuario_path + + PATCH + + /admin/usuarios/:id/toggle_ativo(.:format) + +

admin/usuarios#toggle_ativo

+
+

/app/config/routes.rb:50

+
+ admin_usuarios_path + + GET + + /admin/usuarios(.:format) + +

admin/usuarios#index

+
+

/app/config/routes.rb:49

+
+ + POST + + /admin/usuarios(.:format) + +

admin/usuarios#create

+
+

/app/config/routes.rb:49

+
+ new_admin_usuario_path + + GET + + /admin/usuarios/new(.:format) + +

admin/usuarios#new

+
+

/app/config/routes.rb:49

+
+ edit_admin_usuario_path + + GET + + /admin/usuarios/:id/edit(.:format) + +

admin/usuarios#edit

+
+

/app/config/routes.rb:49

+
+ admin_usuario_path + + PATCH + + /admin/usuarios/:id(.:format) + +

admin/usuarios#update

+
+

/app/config/routes.rb:49

+
+ + PUT + + /admin/usuarios/:id(.:format) + +

admin/usuarios#update

+
+

/app/config/routes.rb:49

+
+ + DELETE + + /admin/usuarios/:id(.:format) + +

admin/usuarios#destroy

+
+

/app/config/routes.rb:49

+
+ toggle_tema_admin_configuracoes_path + + POST + + /admin/configuracoes/toggle_tema(.:format) + +

admin/configuracoes#toggle_tema

+
+

/app/config/routes.rb:53

+
+ admin_configuracoes_path + + GET + + /admin/configuracoes(.:format) + +

admin/configuracoes#index

+
+

/app/config/routes.rb:52

+
+ edit_admin_configuracao_path + + GET + + /admin/configuracoes/:id/edit(.:format) + +

admin/configuracoes#edit

+
+

/app/config/routes.rb:52

+
+ admin_configuracao_path + + PATCH + + /admin/configuracoes/:id(.:format) + +

admin/configuracoes#update

+
+

/app/config/routes.rb:52

+
+ + PUT + + /admin/configuracoes/:id(.:format) + +

admin/configuracoes#update

+
+

/app/config/routes.rb:52

+
+ admin_auditoria_logs_path + + GET + + /admin/auditoria_logs(.:format) + +

admin/auditoria_logs#index

+
+

/app/config/routes.rb:55

+
+ api_v1_dashboard_metricas_path + + GET + + /api/v1/dashboard/metricas(.:format) + +

api/v1/dashboard#metricas

+
+

/app/config/routes.rb:61

+
+ health_path + + GET + + /health(.:format) + +

Inline handler (Proc/Lambda)

+
+

/app/config/routes.rb:66

+
+ turbo_recede_historical_location_path + + GET + + /recede_historical_location(.:format) + +

turbo/native/navigation#recede

+
+

turbo-rails (2.0.23) config/routes.rb:2

+
+ turbo_resume_historical_location_path + + GET + + /resume_historical_location(.:format) + +

turbo/native/navigation#resume

+
+

turbo-rails (2.0.23) config/routes.rb:3

+
+ turbo_refresh_historical_location_path + + GET + + /refresh_historical_location(.:format) + +

turbo/native/navigation#refresh

+
+

turbo-rails (2.0.23) config/routes.rb:4

+
+ rails_postmark_inbound_emails_path + + POST + + /rails/action_mailbox/postmark/inbound_emails(.:format) + +

action_mailbox/ingresses/postmark/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:5

+
+ rails_relay_inbound_emails_path + + POST + + /rails/action_mailbox/relay/inbound_emails(.:format) + +

action_mailbox/ingresses/relay/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:6

+
+ rails_sendgrid_inbound_emails_path + + POST + + /rails/action_mailbox/sendgrid/inbound_emails(.:format) + +

action_mailbox/ingresses/sendgrid/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:7

+
+ rails_mandrill_inbound_health_check_path + + GET + + /rails/action_mailbox/mandrill/inbound_emails(.:format) + +

action_mailbox/ingresses/mandrill/inbound_emails#health_check

+
+

actionmailbox (7.1.6) config/routes.rb:10

+
+ rails_mandrill_inbound_emails_path + + POST + + /rails/action_mailbox/mandrill/inbound_emails(.:format) + +

action_mailbox/ingresses/mandrill/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:11

+
+ rails_mailgun_inbound_emails_path + + POST + + /rails/action_mailbox/mailgun/inbound_emails/mime(.:format) + +

action_mailbox/ingresses/mailgun/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:14

+
+ rails_conductor_inbound_emails_path + + GET + + /rails/conductor/action_mailbox/inbound_emails(.:format) + +

rails/conductor/action_mailbox/inbound_emails#index

+
+

actionmailbox (7.1.6) config/routes.rb:19

+
+ + POST + + /rails/conductor/action_mailbox/inbound_emails(.:format) + +

rails/conductor/action_mailbox/inbound_emails#create

+
+

actionmailbox (7.1.6) config/routes.rb:19

+
+ new_rails_conductor_inbound_email_path + + GET + + /rails/conductor/action_mailbox/inbound_emails/new(.:format) + +

rails/conductor/action_mailbox/inbound_emails#new

+
+

actionmailbox (7.1.6) config/routes.rb:19

+
+ rails_conductor_inbound_email_path + + GET + + /rails/conductor/action_mailbox/inbound_emails/:id(.:format) + +

rails/conductor/action_mailbox/inbound_emails#show

+
+

actionmailbox (7.1.6) config/routes.rb:19

+
+ new_rails_conductor_inbound_email_source_path + + GET + + /rails/conductor/action_mailbox/inbound_emails/sources/new(.:format) + +

rails/conductor/action_mailbox/inbound_emails/sources#new

+
+

actionmailbox (7.1.6) config/routes.rb:20

+
+ rails_conductor_inbound_email_sources_path + + POST + + /rails/conductor/action_mailbox/inbound_emails/sources(.:format) + +

rails/conductor/action_mailbox/inbound_emails/sources#create

+
+

actionmailbox (7.1.6) config/routes.rb:21

+
+ rails_conductor_inbound_email_reroute_path + + POST + + /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format) + +

rails/conductor/action_mailbox/reroutes#create

+
+

actionmailbox (7.1.6) config/routes.rb:23

+
+ rails_conductor_inbound_email_incinerate_path + + POST + + /rails/conductor/action_mailbox/:inbound_email_id/incinerate(.:format) + +

rails/conductor/action_mailbox/incinerates#create

+
+

actionmailbox (7.1.6) config/routes.rb:24

+
+ rails_service_blob_path + + GET + + /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format) + +

active_storage/blobs/redirect#show

+
+

activestorage (7.1.6) config/routes.rb:5

+
+ rails_service_blob_proxy_path + + GET + + /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format) + +

active_storage/blobs/proxy#show

+
+

activestorage (7.1.6) config/routes.rb:6

+
+ + GET + + /rails/active_storage/blobs/:signed_id/*filename(.:format) + +

active_storage/blobs/redirect#show

+
+

activestorage (7.1.6) config/routes.rb:7

+
+ rails_blob_representation_path + + GET + + /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format) + +

active_storage/representations/redirect#show

+
+

activestorage (7.1.6) config/routes.rb:9

+
+ rails_blob_representation_proxy_path + + GET + + /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format) + +

active_storage/representations/proxy#show

+
+

activestorage (7.1.6) config/routes.rb:10

+
+ + GET + + /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) + +

active_storage/representations/redirect#show

+
+

activestorage (7.1.6) config/routes.rb:11

+
+ rails_disk_service_path + + GET + + /rails/active_storage/disk/:encoded_key/*filename(.:format) + +

active_storage/disk#show

+
+

activestorage (7.1.6) config/routes.rb:13

+
+ update_rails_disk_service_path + + PUT + + /rails/active_storage/disk/:encoded_token(.:format) + +

active_storage/disk#update

+
+

activestorage (7.1.6) config/routes.rb:14

+
+ rails_direct_uploads_path + + POST + + /rails/active_storage/direct_uploads(.:format) + +

active_storage/direct_uploads#create

+
+

activestorage (7.1.6) config/routes.rb:15

+
+ + + + +

Request

+

Parameters:

None
+ +
+ + +
+ +
+ + +
+ +

Response

+

Headers:

None
+ +
+ + + + diff --git a/Imagens para correção /Imagem colada (2).png b/Imagens para correção /Imagem colada (2).png new file mode 100644 index 0000000..0c8324e Binary files /dev/null and b/Imagens para correção /Imagem colada (2).png differ diff --git a/Imagens para correção /Imagem colada.png b/Imagens para correção /Imagem colada.png new file mode 100644 index 0000000..bafc59f Binary files /dev/null and b/Imagens para correção /Imagem colada.png differ diff --git a/Imagens para implantação /Imagem colada.png b/Imagens para implantação /Imagem colada.png new file mode 100644 index 0000000..1cc440b Binary files /dev/null and b/Imagens para implantação /Imagem colada.png differ