Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError happened in Community::AppointmentsController#index #391

Closed
appsignal bot opened this issue Oct 1, 2021 · 1 comment
Closed

NameError happened in Community::AppointmentsController#index #391

appsignal bot opened this issue Oct 1, 2021 · 1 comment
Assignees
Labels
camada: backend dificuldade: baixa good first issue Boa issue para iniciantes! linguagem: ruby prioridade: alta Issue importante tipo: bug Algo não está funcionando como deveria

Comments

@appsignal
Copy link

appsignal bot commented Oct 1, 2021

Message

  undefined local variable or method `vaccine' for #Patient
Did you mean?  vaccinated?

Backtrace (last 10 lines)

lib/active_model/attribute_methods.rb:469 method_missing
app/models/patient.rb:86 change_reschedule_after
app/models/patient.rb:71 got_reschedule_condition?
app/controllers/community/appointments_controller.rb:118 can_cancel_and_reschedule?
app/controllers/community/appointments_controller.rb:109 appointment_can_cancel_and_reschedule
app/controllers/community/appointments_controller.rb:39 index
lib/action_controller/metal/basic_implicit_render.rb:6 send_action
lib/abstract_controller/base.rb:228 process_action
lib/action_controller/metal/rendering.rb:30 process_action
lib/abstract_controller/callbacks.rb:42 block in process_action

View on AppSignal: https://appsignal.com/agenda-saude/sites/609dec760f9875392a866c0e/exceptions/incidents/255?timestamp=2021-10-01T21:25:11Z

@Mat-Bit
Copy link
Collaborator

Mat-Bit commented Oct 21, 2021

Fechando Issue pela alteração do PR #392

@Mat-Bit Mat-Bit closed this as completed Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
camada: backend dificuldade: baixa good first issue Boa issue para iniciantes! linguagem: ruby prioridade: alta Issue importante tipo: bug Algo não está funcionando como deveria
Projects
None yet
Development

No branches or pull requests

2 participants