diff options
author | schneems <richard.schneeman@gmail.com> | 2012-08-09 23:59:25 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2012-08-10 22:02:48 -0500 |
commit | 60b650b18c82a050ab81f924e23f7d308ffd8972 (patch) | |
tree | d95cebb615c2fbacc0ae445da8bf16e5d559f1bc /railties/lib/rails/commands.rb | |
parent | 581a9277102e66132a98cd1e8df93f904628585e (diff) | |
download | rails-60b650b18c82a050ab81f924e23f7d308ffd8972.tar.gz rails-60b650b18c82a050ab81f924e23f7d308ffd8972.tar.bz2 rails-60b650b18c82a050ab81f924e23f7d308ffd8972.zip |
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.
Diffstat (limited to 'railties/lib/rails/commands.rb')
0 files changed, 0 insertions, 0 deletions