rails/rails — Issue #5324: Default field and textarea sizes should be removed
Author: jgarber
Created: 2012-03-07 13:49:00+00:00
State: open

Why do we still have default size and rows cols attributes on text fields and textareas? I find myself [changing those default hashes in an initializer](https://gist.github.com/1993171) on most projects to reduce clutter. It seems to me that in this advanced age of HTML5 and CSS3, most users are capable of specifying the size of their textareas with CSS.

Imagine if link_to had a default color attribute!

What do you think?

https://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/tags/base.rb#L8
https://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/tags/text_area.rb#L5