Skip to content

Commit

Permalink
remove duplicate call to stringify_keys [#2587 status:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
stevestmartin authored and josevalim committed Aug 8, 2009
1 parent 73f2d37 commit a864559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Expand Up @@ -263,7 +263,7 @@ def text_area_tag(name, content = nil, options = {})
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.
Expand Down

0 comments on commit a864559

Please sign in to comment.