Skip to content

Instantly share code, notes, and snippets.

@y-yagi
Last active September 4, 2024 08:19
Show Gist options
  • Save y-yagi/a1931edeab629e0b3f49bc18a15ee654 to your computer and use it in GitHub Desktop.
Save y-yagi/a1931edeab629e0b3f49bc18a15ee654 to your computer and use it in GitHub Desktop.
Ginza.rb 第83回向けの何か.

個人的に話したい事メモ。

railties

Active Support

  • Yield instance to Object#with block
    • Object#withのblockにreceiverのインスタンスを渡すよう修正
    • client.with(timeout: 5_000) { |c| c.get("/commits") } とか書けるようになった

Active Record

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment