<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Yamaguchi-T</author_name>
  <author_url>https://blog.hatena.ne.jp/Yamaguchi-T/</author_url>
  <blog_title>３０代プログラム初心者がWEBエンジニアになる</blog_title>
  <blog_url>https://yamaguchi-t.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは、ぐっちと申します。 今回は今までなんとなく使っていたjbuilderについて書きたいと思います。 そもそもRailsでjbuilderが使用できるのは、$ rails new で作成した時点でRails4からはデフォルトでgemが入っているからです。 Gemfile をみると gem 'jbuilder', '~&gt; 2.5' と記述がありました。 jbuilderとはxxx.json.jbuilderファイルに記述するとJSONにして返してくれるという物。難しいjson形式を返す時などに便利。 jbuilderの書き方 Modelを使わない書き方 一番シンプルな形式 json.se…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamaguchi-t.hatenablog.com%2Fentry%2F2019%2F11%2F07%2F204944&quot; title=&quot;jbuilderについて - ３０代プログラム初心者がWEBエンジニアになる&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>2019-11-07 20:49:44</published>
  <title>jbuilderについて</title>
  <type>rich</type>
  <url>https://yamaguchi-t.hatenablog.com/entry/2019/11/07/204944</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
