{"description":"ActiveRecord\u30671:n\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3044\u307e\u3059\u3002 \u30c6\u30fc\u30d6\u30eb\u5b9a\u7fa9 CREATE TABLE kittens ( id int(11) NOT NULL auto_increment PRIMARY KEY, strain_id int(11) default NULL, name VARCHAR(255) ); CREATE TABLE strains ( id int(11) NOT NULL auto_increment PRIMARY KEY, name VARCHAR(255) ); \u7a2e\u65cf(strain)\u3068\u732b(kitten)\u304c1:n\u306e\u95a2\u9023\u3067\u3059\u3002 AR\u30af\u30e9\u30b9 \u305d\u308c\u305e\u308c\u306eAc\u2026","title":" ActiveRecord\u30671:n\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3","blog_url":"https://unageanu.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20070509%2F1178673015\" title=\" ActiveRecord\u30671:n\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3 - \u3046\u306a\u306e\u65e5\u8a18\" 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%","published":"2007-05-09 10:10:15","author_url":"https://blog.hatena.ne.jp/unageanu/","author_name":"unageanu","height":"190","categories":["Ruby"],"provider_name":"Hatena Blog","image_url":null,"type":"rich","version":"1.0","url":"https://unageanu.hatenablog.com/entry/20070509/1178673015","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","provider_url":"https://hatena.blog"}