Skip to content

Instantly share code, notes, and snippets.

@catmando
Created February 26, 2021 05:38
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 catmando/ae383865ecca829ed4a77a0b1d700f81 to your computer and use it in GitHub Desktop.
Save catmando/ae383865ecca829ed4a77a0b1d700f81 to your computer and use it in GitHub Desktop.
Hyperstack vs. Hotwire .jbuilder file
json.extract! tweet, :id, :body, :likes_count, :retweets_count, :created_at, :updated_at
json.url tweet_url(tweet, format: :json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment