{"blog_url":"https://mrradiology.hatenablog.jp/","published":"2022-03-03 16:20:02","provider_name":"Hatena Blog","blog_title":" \u5b66\u751f\u5411\u3051\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580 | \u7121\u6599","type":"rich","height":"190","version":"1.0","provider_url":"https://hatena.blog","author_name":"MrRadiology","url":"https://mrradiology.hatenablog.jp/entry/2022/03/03/162002","description":"\u30e9\u30f3\u30ad\u30f3\u30b0\u53c2\u52a0\u4e2d\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0[42] \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30e1\u30c3\u30bb\u30fc\u30b8 [\u30db\u30fc\u30e0\u306b\u623b\u308b] >> [44] \u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3 \u30b3\u30de\u30f3\u30c9 rails g model Notification content user:references \u30b3\u30de\u30f3\u30c9 rails g migration AddUnreadToUser unread:bigint \u8a18\u8ff0\u8ffd\u52a0 db\\migrate\\20200805024555_add_unread_to_user.rb 3\u884c\u76ee\u672b\u5c3e\u306b\u300c, default: true\u300d\u306e\u8a18\u8ff0\u8ffd\u52a0 class AddUnreadToUser < ActiveRecord::Migration[6.0\u2026","categories":["Ruby on Rails","Rails6.0","\u52d5\u753b\u5b66\u7fd2\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/M/MrRadiology/20200805/20200805123856.png","title":"Rails6.0 | \u52d5\u753b\u5b66\u7fd2\u30b5\u30a4\u30c8\u3092\u4f5c\u6210| 43 | \u901a\u77e5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmrradiology.hatenablog.jp%2Fentry%2F2022%2F03%2F03%2F162002\" title=\"Rails6.0 | \u52d5\u753b\u5b66\u7fd2\u30b5\u30a4\u30c8\u3092\u4f5c\u6210| 43 | \u901a\u77e5 -  \u5b66\u751f\u5411\u3051\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580 | \u7121\u6599\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/MrRadiology/"}