Created
May 10, 2010 16:01
-
-
Save anonymous/396208 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example in scaffold-generated index view | |
# Fails | |
<%= link_to 'Show', entity %> | |
# Error: | |
# syntax error, unexpected tIVAR, expecting keyword_do or '{' or '(' | |
# ..._to 'Show', entity @output_buffer.safe_concat('</td> | |
# Works | |
<%= link_to 'Show', entity, :action => "show" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment