We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
incidents/app/views/incident_reports/history.haml
Line 15 in 583ec91
incidents/app/views/supervisor_reports/history.haml
User.find('4').try(:name) #=> nil # Hmmm... User.find('4')&.name # `method_missing': undefined method `name' for #<User id: 4, ...
All user "names" are nil, because users don't have "names".
nil
The text was updated successfully, but these errors were encountered:
Likewise when the user is changed:
incidents/app/views/incident_reports/_changes.haml
Line 23 in 583ec91
incidents/app/views/supervisor_reports/_changes.haml
Sorry, something went wrong.
No branches or pull requests
incidents/app/views/incident_reports/history.haml
Line 15 in 583ec91
incidents/app/views/supervisor_reports/history.haml
Line 15 in 583ec91
All user "names" are
nil
, because users don't have "names".The text was updated successfully, but these errors were encountered: