Written by: steve ross on July 31st 2008
Not that you would ever do this, but have you ever known anyone who wrote code like:
<%= form_tag(:action => 'inaction') do |f| %>
Well, that's the function call signature for form_for, and sometime muscle-memory is a bad thing. Adding the |f| parameter produces the odd error:
Multiple values for block parameter
Just in case you were doing some head scratching. And by the way, it's a benign warning so you won't get any code breakage unless you really use the parameter as the object for your form helpers.