aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/asset_tag_helper.rb
diff options
context:
space:
mode:
authorRaghu Kamat <rkamat@teladoc.com>2018-10-25 09:13:39 -0400
committerRaghu Kamat <rkamat@teladoc.com>2018-10-25 16:00:59 -0400
commit5edbc1fd2034f79e41638d8e67324c7d357002d6 (patch)
tree6fcd3461f592553190ac5163c0b48c0269354a58 /actionview/lib/action_view/helpers/asset_tag_helper.rb
parenta3dcba42e2422eb9c2e77011a39ce72dc934b420 (diff)
downloadrails-5edbc1fd2034f79e41638d8e67324c7d357002d6.tar.gz
rails-5edbc1fd2034f79e41638d8e67324c7d357002d6.tar.bz2
rails-5edbc1fd2034f79e41638d8e67324c7d357002d6.zip
Added maxlength example to text_field documentation
The usage of maxlength in the text_field helper adds a size attribute to the generated text_field input with the same value as the maxlength. This implicit addition of size attribute by the method gives a false impression that it may be bug. By adding the implementation of the maxlength to the api docs, we explicitly tell the reader referring the api doc that addition of size along with maxlength is the expected behaviour. [ci skip]
Diffstat (limited to 'actionview/lib/action_view/helpers/asset_tag_helper.rb')
0 files changed, 0 insertions, 0 deletions