Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created July 12, 2013 18:17
Show Gist options
  • Save chintanparikh/5986590 to your computer and use it in GitHub Desktop.
Save chintanparikh/5986590 to your computer and use it in GitHub Desktop.
$.each(content, (id, value) ->
$("#content").prepend(<%= j render 'content', content: Content.find(id)%>)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment