Skip to content

Instantly share code, notes, and snippets.

@jsierles
Created February 4, 2010 12:12
Show Gist options
  • Save jsierles/294573 to your computer and use it in GitHub Desktop.
Save jsierles/294573 to your computer and use it in GitHub Desktop.
usernames = data_bag(:users)
usernames.each do |username|
user_json = data_bag_item username
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment