
Better missing form error message
Reported by Amos King | April 10th, 2009 @ 04:16 PM
If there is a button that is not inside a form the the error message given is:
NoMethodError: You have a nil object when you didn't expect it! The error occurred while evaluating nil.submit
I think it would be great if we could give a better error for this.
Something like:
NoMethodError: You have a nil object when you didn't expect it! The error occurred while evaluating nil.submit. This button may need to be in a form.
Comments and changes to this ticket
-
gaffo May 7th, 2009 @ 06:40 PM
- State changed from new to duplicate
Amos this is a dupe. Closing.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.