Please sign in to comment.
check for nil or empty record in form_for
if nil or an empty array is passed into form_for you get a horrible error message, this one is much more indicative of what the programmer needs to know to fix the problem.
- Loading branch information...
Showing with 15 additions and 0 deletions.