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
When I click on /locker_violations/new I expect to see the new form page to create a new locker violation
When I click on /locker_violations/new I get an error NoMethodError: undefined method location' for nil:NilClass`
NoMethodError: undefined method
Go to /locker_violations Click on the link 'New LockerViolation'
E.g. "I can't work until this is fixed" or "I have a workaround"
Honeybadger
Message NoMethodError: undefined method location' for nil:NilClass`
Message NoMethodError: undefined method
/app/views/locker_violations/_form.html.erb:17:in `block in _app_views_locker_violations__form_html_erb'</div>"> 15 | <grid-item columns="lg-2 md-4 sm-12"> -- | -- 16 | <strong>Locker:</strong> 17 | <span><%= locker_violation.locker.location %></span> 18 | </grid-item> 19 | <grid-item columns="lg-1 md-4 sm-12"> </div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
When I click on /locker_violations/new I expect to see the new form page to create a new locker violation
Actual behavior
When I click on /locker_violations/new I get an error
NoMethodError: undefined method
location' for nil:NilClass`Steps to replicate
Go to /locker_violations
Click on the link 'New LockerViolation'
Impact of this bug
E.g. "I can't work until this is fixed" or "I have a workaround"
Honeybadger link and code snippet, if applicable
Honeybadger
Message NoMethodError: undefined method
location' for nil:NilClass`The text was updated successfully, but these errors were encountered: