Skip to content

Instantly share code, notes, and snippets.

@jimmybaker
Created May 21, 2012 22:15
Show Gist options
  • Save jimmybaker/2765029 to your computer and use it in GitHub Desktop.
Save jimmybaker/2765029 to your computer and use it in GitHub Desktop.
some_action.js.erb
{
'html_content': <%= render(:some_partial).inspect %>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment