Open omarkhan opened 5 months ago
The regex used to detect an instance variable in a partial currently misses instance variables that are not immediately preceded by whitespace, as in this example:
<%= link_to(project.name, [@project_developer, project]) %>
This modifies the regex to detect such cases, and adds a test.
The regex used to detect an instance variable in a partial currently misses instance variables that are not immediately preceded by whitespace, as in this example:
This modifies the regex to detect such cases, and adds a test.