<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekorails</author_name>
  <author_url>https://blog.hatena.ne.jp/nekorails/</author_url>
  <blog_title>猫Rails</blog_title>
  <blog_url>https://nekorails.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>感想とか 感想 pros cons 基本的な使い方 導入 1. インストール 2. セットアップ 3. デコレータを作成して、使用する ヘルパー/ビュー/モデルにロジックを置く場合との比較 ヘルパーにロジックを置く場合 ビューにロジックを置く場合 モデルに置く場合 デコレータにロジックを置く場合 ヘルパーメソッドを使う*2 hメソッド: ヘルパーにアクセス include Draper::LazyHelpers: ヘルパーを直接include モデルのメソッドを使う*3 object: モデルインスタンスにアクセス delegate_all: 全てのメソッドを委譲 delegate: 指定のメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekorails.hatenablog.com%2Fentry%2F2018%2F10%2F13%2F070437&quot; title=&quot;Draperの使い方 まとめ - 猫Rails&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>2018-10-13 07:04:37</published>
  <title>Draperの使い方 まとめ</title>
  <type>rich</type>
  <url>https://nekorails.hatenablog.com/entry/2018/10/13/070437</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
