aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/erb
diff options
context:
space:
mode:
authorDrew Ulmer <drew.ulmer@gmail.com>2013-06-04 14:39:50 -0500
committerDrew Ulmer <drew.ulmer@gmail.com>2013-06-04 14:39:50 -0500
commit2a576dd257647871660c3e86f0c4fcddbb5b7105 (patch)
treefeb66ba90076e58dda35f4a1d4987169f5c1952c /actionpack/test/template/erb
parent4b2cb4ac9df5b0c7b98d5d450277b47b8accba9e (diff)
downloadrails-2a576dd257647871660c3e86f0c4fcddbb5b7105.tar.gz
rails-2a576dd257647871660c3e86f0c4fcddbb5b7105.tar.bz2
rails-2a576dd257647871660c3e86f0c4fcddbb5b7105.zip
Fix mismatching variable names when using an underscore
The ERBTracker template digest helper class was using a regex to match render calls and it was incorrectly not matching against variables with underscores in the name. This caused it to use the wrong regex match data to populate the template dependency. Because underscore is a valid character for a variable, this fixes the ERBTracker to match it properly.
Diffstat (limited to 'actionpack/test/template/erb')
0 files changed, 0 insertions, 0 deletions