Skip to content

Instantly share code, notes, and snippets.

@brunomichetti
Created August 27, 2019 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomichetti/c45f3e2238fd3e0e45a4b1302853c15e to your computer and use it in GitHub Desktop.
Save brunomichetti/c45f3e2238fd3e0e45a4b1302853c15e to your computer and use it in GitHub Desktop.
json.influencers Influencer.all do |influencer|
json.name influencer.name
json.fans_count influencer.fans_count
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment