mirror of
https://github.com/github/rails.git
synced 2026-02-19 02:14:20 -05:00
Fix docs for text_area_tag. Closes #3083.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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 <jonathan@bluewire.net.nz>]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user