Please sign in to comment.
We don't need to check blank? here.
Also the blank? check introduced a bug. $ rails generate model Foo blank:boolean form_for(Foo.new(:blank => true)) => ArgumentError, "First argument in form cannot contain nil or be empty"
- Loading branch information...
Showing with 1 addition and 1 deletion.