diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-06 22:44:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-06 22:44:13 -0300 |
commit | e1e4b1d1fde315c74ad983719ed03407ca324c4b (patch) | |
tree | 72aebd3213e14dbda792d4e1d9c79abd4fa0ab9d /activesupport/MIT-LICENSE | |
parent | d76ef6fa6cd34f4c7023706e8b8b4eb8a6a03b88 (diff) | |
download | rails-e1e4b1d1fde315c74ad983719ed03407ca324c4b.tar.gz rails-e1e4b1d1fde315c74ad983719ed03407ca324c4b.tar.bz2 rails-e1e4b1d1fde315c74ad983719ed03407ca324c4b.zip |
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"
Diffstat (limited to 'activesupport/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions