-
John Hawthorn authored
ActionView::DependencyTracker looks through ERB templates using a regex to find render calls. Previously this would incorrectly pick up interpolated strings, like `render "foo/#{bar}"`. This does not attempt to completely correct DependencyTracker, we can't parse Ruby accurately with a regex, but should avoid a relatively common case that previously was generating warnings.
John Hawthorn authoredActionView::DependencyTracker looks through ERB templates using a regex to find render calls. Previously this would incorrectly pick up interpolated strings, like `render "foo/#{bar}"`. This does not attempt to completely correct DependencyTracker, we can't parse Ruby accurately with a regex, but should avoid a relatively common case that previously was generating warnings.
Loading