diff options
author | Benjamin Quorning <benjamin@quorning.net> | 2016-03-04 13:48:22 +0100 |
---|---|---|
committer | Benjamin Quorning <benjamin@quorning.net> | 2016-03-04 13:53:11 +0100 |
commit | 39c44480a23714252b023d024a315dc603f29437 (patch) | |
tree | 1e3d9987d34eb400349a848bf3a1ce8c94601f11 /actionpack/test/controller/new_base/render_partial_test.rb | |
parent | 25c7c4adc9d7568997423338069323abe0827385 (diff) | |
download | rails-39c44480a23714252b023d024a315dc603f29437.tar.gz rails-39c44480a23714252b023d024a315dc603f29437.tar.bz2 rails-39c44480a23714252b023d024a315dc603f29437.zip |
Fix partial rendering with dot in filename
When rendering a collection with a partial whose filename contains a dot, e.g.
"customer.mobile", we would set a `locals[:'customer.mobile']` variable instead
of, as in earlier versions of Rails, `locals[:customer]`.
This bug was introduced in da9038eaa5d19c77c734a044c6b35d7bfac01104.
Diffstat (limited to 'actionpack/test/controller/new_base/render_partial_test.rb')
0 files changed, 0 insertions, 0 deletions