remove duplicate call to stringify_keys [#2587 status:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Steve St. Martin
2009-08-07 20:05:02 -04:00
committed by José Valim
parent 73f2d37505
commit a8645593a4

View File

@@ -263,7 +263,7 @@ module ActionView
escape = options.key?("escape") ? options.delete("escape") : true
content = html_escape(content) if escape
content_tag :textarea, content, { "name" => name, "id" => sanitize_to_id(name) }.update(options.stringify_keys)
content_tag :textarea, content, { "name" => name, "id" => sanitize_to_id(name) }.update(options)
end
# Creates a check box form input tag.