Created
May 10, 2010 23:20
-
-
Save anonymous/396679 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
<td><%= link_to 'Show', todo %></td> | |
# Source output from ActionView::Template's compile method, looping on index view of default scaffolding template via call above | |
# Result with 'tod', works | |
@output_buffer.safe_concat('</td>\n <td>');@output_buffer.append= ( link_to 'Show', tod );@output_buffer.safe_concat('</td>\n <td>'); | |
# Result with 'todo', works no | |
@output_buffer.safe_concat('</td>\n <td>');@output_buffer.append= link_to 'Show', todo @output_buffer.safe_concat('</td>\n <td>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment