aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/resolver_patterns_test.rb
diff options
context:
space:
mode:
authorSemyon Perepelitsa <sema@sema.in>2013-01-24 04:26:49 +0800
committerSemyon Perepelitsa <sema@sema.in>2013-01-31 01:28:57 +0800
commit540ebe37cd1a9551b739c552a0d4efd2adc7ff22 (patch)
tree083ed8c399ec6791f907698fa0aa5c3398505834 /actionpack/test/template/resolver_patterns_test.rb
parentaa202965603fb8511bdd2448677d19dfb7afa87f (diff)
downloadrails-540ebe37cd1a9551b739c552a0d4efd2adc7ff22.tar.gz
rails-540ebe37cd1a9551b739c552a0d4efd2adc7ff22.tar.bz2
rails-540ebe37cd1a9551b739c552a0d4efd2adc7ff22.zip
Fix `content_tag_for` with array html option.
It would embed array as string instead of joining it like `content_tag` does: content_tag(:td, class: ["foo", "bar"]){} #=> '<td class="foo bar"></td>' Before: content_tag_for(:td, item, class: ["foo", "bar"]){} #=> '<td class="item [&quot;foo&quot;, &quot;bar&quot;]" id="item_1"></td>' After: content_tag_for(:td, item, class: ["foo", "bar"]){} #=> '<td class="item foo bar" id="item_1"></td>'
Diffstat (limited to 'actionpack/test/template/resolver_patterns_test.rb')
0 files changed, 0 insertions, 0 deletions