rails/rails — pull request #7059 by jalkoby (2012-07-15 16:29:45+00:00)
Title: Make argument `value` optional in form tags helpers

Quit often I need to build form(sign in or feedback form) with inputs which doesnt have value. But also I need specify custom style to it. So I use text_field_tag method in which second argument value and third options. But I dont need set value, so I put blank string or nil. As we know sending nil to method not good ruby practice, so I change it to more flexible way

```ruby
text_field_tag 'field', :class => 'custom css'

# is equal to

text_field_tag 'field', nil, :class => 'custom css'
```

Also were password field, email field, textarea and etc