{"description":"Rails\u3092\u4f7f\u3063\u3066\u3044\u308b\u4e2d\u3067\u3001\u300c\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u3060\u3068\u30e2\u30c7\u30eb\u306eid\u5217\u306f\u3044\u3064\u8a2d\u5b9a\u3055\u308c\u308b\u306e\u304b\u300d\u304c\u6c17\u306b\u306a\u3063\u305f\u3053\u3068\u304b\u3089\u3001\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3068\u304d\u306e\u30e1\u30e2\u3092\u6b8b\u3057\u307e\u3059\u3002 \u76ee\u6b21 \u74b0\u5883 \u52d5\u4f5c\u78ba\u8a8d \u4f59\u8ac7\uff1aRails\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u308a\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5185\u3067\u306e return \u7b49\u306e\u6319\u52d5\u304c\u5909\u308f\u308b \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 \u74b0\u5883 Rails 7.1.3 DB\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306eSQLite3 \u307e\u305f\u3001\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u30e2\u30c7\u30eb\u3068\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3057\u307e\u3059\u3002 apple.rb class Apple < ApplicationRecord end \u30e2\u30c7\u30eb\u306b\u5bfe\u3059\u308b\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u3061\u3089\u3002 class CreateApples < ActiveReco\u2026","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2024%2F02%2F17%2F221220\" title=\"Rails\u306b\u3066\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u3060\u3068\u30e2\u30c7\u30eb\u306eid\u5217\u306f\u3044\u3064\u8a2d\u5b9a\u3055\u308c\u308b\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u305f - \u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","height":"190","blog_title":"\u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a","author_name":"thinkAmi","categories":["Rails"],"image_url":null,"provider_url":"https://hatena.blog","title":"Rails\u306b\u3066\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u3060\u3068\u30e2\u30c7\u30eb\u306eid\u5217\u306f\u3044\u3064\u8a2d\u5b9a\u3055\u308c\u308b\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u305f","published":"2024-02-17 22:12:20","blog_url":"https://thinkami.hatenablog.com/","version":"1.0","url":"https://thinkami.hatenablog.com/entry/2024/02/17/221220","author_url":"https://blog.hatena.ne.jp/thinkAmi/","width":"100%"}