<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>Rails binding.pry入門：セットアップと基本コマンドの使い方 はじめに Railsの開発中にコードが期待通り動かないとき、puts で変数を出力しながらデバッグするのは効率が悪いです。binding.pry を使えば、コードが実行されているその場所で一時停止して、変数の中身を確認したりコードを試したりできます。 この記事ではセットアップから基本コマンドまでを解説します。実践的な使い方は「Rails binding.pry実践：コントローラー・モデル・テストでのデバッグ」を参照してください。 セットアップ Gemfile に以下を追加します。 group :development,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F20%2F174213&quot; title=&quot;Rails binding.pry入門：セットアップと基本コマンドの使い方 - Engineering Tech Dojo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-20 17:42:13</published>
  <title>Rails binding.pry入門：セットアップと基本コマンドの使い方</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/20/174213</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
