<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wai-doi</author_name>
  <author_url>https://blog.hatena.ne.jp/wai-doi/</author_url>
  <blog_title>どいブログ</blog_title>
  <blog_url>https://wai-doi.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>今回はRails アプリケーションの開発でJSON型のカラムを扱った際に ActiveRecord::Store を使うと便利だったのでそのことについて共有します。 実行環境 以下の環境で試しました。 - Ruby 2.7.1 - Rails 6.0.3.2 - Postgres JSON型について PostgresqlではJSONデータ型をサポートしています。 https://www.postgresql.jp/document/12/html/datatype-json.html Railsではcreate_tableでjson型のカラムを作ることができます。同様にjsonb型のカラムも作…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwai-doi.hatenablog.com%2Fentry%2Fjson-active-record-store&quot; title=&quot;JSON型カラムをActiveRecord::Storeで使いやすくしてみる - どいブログ&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>2022-03-01 15:15:37</published>
  <title>JSON型カラムをActiveRecord::Storeで使いやすくしてみる</title>
  <type>rich</type>
  <url>https://wai-doi.hatenablog.com/entry/json-active-record-store</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
