Closed jshslsky closed 8 years ago
In the before_action for edit, update and destroy, the code assumes that find_event will always return an event and raises a NoMethodError if an event cannot be found.
before_action
find_event
NoMethodError
@joshuaselsky and @shaun965 - I'm not sure how to test this one. Can you please help me with some instructions? Thanks!
I will test it out - I should have not given this the Ready for Testing label.
In the
before_action
for edit, update and destroy, the code assumes thatfind_event
will always return an event and raises aNoMethodError
if an event cannot be found.