Skip to content

Instantly share code, notes, and snippets.

@zirosas
Created April 28, 2013 21:58
Show Gist options
  • Save zirosas/5478572 to your computer and use it in GitHub Desktop.
Save zirosas/5478572 to your computer and use it in GitHub Desktop.
@location_list = [
['Mushrooms', 3],
['Onions', 1],
['Olives', 1],
['Zucchini', 1],
['Pepperoni', 2]
]
<%= raw @location_list.as_json %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment