Is this something I'm doing wrong, or is there a bug (or something else)? The agile book and the ROR API seems to indicate this should work.
rhtml: <td><%= text_field('state', 'abbreviation', :size => 2, :maxsize => 2) %></td>
Rendered HTML: <td><input id="state_abbreviation" maxsize="2" name="state[abbreviation]" size="2" type="text" /></td>
I've tried:
:size => 2, :maxsize => 2 {:size => 2, :maxsize => 2} "size" => 2, "maxsize" => 2 {"size" => 2, "maxsize" => 2}
They all render the same HTML.