{"description":"DB\u306b\u4fdd\u5b58\u3059\u308b\u307b\u3069\u3067\u3082\u306a\u3044\u30de\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u3069\u306e\u3088\u3046\u306b\u7ba1\u7406\u3059\u308b\u304b\u60a9\u3093\u3060\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u4eca\u56de\u306f\u3001\u305d\u3093\u306a\u6642\u306b\u4fbf\u5229\u304b\u3082\uff01\uff1f\u306a ActiveHash \u3092\u4f7f\u3063\u3066\u30e2\u30c7\u30eb\u30e9\u30a4\u30af\u306b\u30de\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002 github.com \u4e8b\u524d\u6e96\u5099 Gem\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b Gemfile gem 'active_hash' \u30de\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308b \u4eca\u56de\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002 ID \u30ab\u30c6\u30b4\u30ea\u30fc\u540d 1 \u91ce\u83dc 2 \u679c\u7269 3 \u304a\u8089 4 \u7a40\u7269 ActiveHash \u306e\u30e2\u30c7\u30eb\u306b\u76f4\u66f8\u304d\u3059\u308b\u5834\u5408 app/models/category.rb class Category < ActiveHash::Base self.d\u2026","url":"https://www.mof-mof.co.jp/tech-blog/2024/10/30/100000","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2F2024%2F10%2F30%2F100000\" title=\"\u3010Rails\u3011ActiveHash\u3067\u30de\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3059\u308b - \u3082\u3075\u3082\u3075\u6280\u8853\u90e8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://www.mof-mof.co.jp/tech-blog/","author_name":"kanahebiZ","published":"2024-10-30 10:00:00","width":"100%","blog_title":"\u3082\u3075\u3082\u3075\u6280\u8853\u90e8","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/kanahebiZ/","title":"\u3010Rails\u3011ActiveHash\u3067\u30de\u30b9\u30bf\u30fc\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3059\u308b","categories":["Rails"],"version":"1.0","type":"rich"}