From 96c29ab890edaa54840f2cb0c9760b82ef875958 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Fri, 2 Dec 2005 04:37:53 +0000 Subject: [PATCH] Fix docs for text_area_tag. Closes #3083. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 62fae65370..3f46ecc1b4 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix docs for text_area_tag. #3083. [Christopher Cotton] + * Change form_for and fields_for method signatures to take object name and object as separate arguments rather than as a Hash. [DHH] * Introduce :selected option to the select helper. Allows you to specify a selection other than the current value of object.method. Specify :selected => nil to leave all options unselected. #2991 [Jonathan Viney ] 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: # * :size - A string specifying the dimensions of the textarea. # # Outputs - # <%= 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"]