Skip to content

Instantly share code, notes, and snippets.

@radar
Created Feb 27, 2014
Embed
What would you like to do?
Jbuilder.encode do |json|
json.array! @products do |product|
json.name product.name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment