aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2005-12-02 04:37:53 +0000
committerMarcel Molina <marcel@vernix.org>2005-12-02 04:37:53 +0000
commit96c29ab890edaa54840f2cb0c9760b82ef875958 (patch)
treeb065e62eb23121722d5f1eaa07bb561e7a11d7d7 /actionpack/lib/action_view/helpers/form_tag_helper.rb
parent2e42167058fa6e528237f4d78a4cb0bd6c2e099d (diff)
downloadrails-96c29ab890edaa54840f2cb0c9760b82ef875958.tar.gz
rails-96c29ab890edaa54840f2cb0c9760b82ef875958.tar.bz2
rails-96c29ab890edaa54840f2cb0c9760b82ef875958.zip
Fix docs for text_area_tag. Closes #3083.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb
index eb789cd457..f4f5382311 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -95,7 +95,7 @@ module ActionView
# Options:
# * <tt>:size</tt> - A string specifying the dimensions of the textarea.
# # Outputs <textarea name="body" id="body" cols="25" rows="10"></textarea>
- # <%= text_area_tag "body", nil, :size => 25x10 %>
+ # <%= text_area_tag "body", nil, :size => "25x10" %>
def text_area_tag(name, content = nil, options = {})
options = options.stringify_keys
if options["size"]