Skip to content

Instantly share code, notes, and snippets.

Created May 10, 2010 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/396679 to your computer and use it in GitHub Desktop.
Save anonymous/396679 to your computer and use it in GitHub Desktop.
<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