{"published":"2007-05-10 09:39:48","categories":["Ruby"],"url":"https://unageanu.hatenablog.com/entry/20070510/1178757588","height":"190","image_url":null,"type":"rich","width":"100%","description":"ActiveRecord::Base#find \u3067\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u691c\u7d22\u3067\u304d\u307e\u3059\u3002 \u5f15\u6570\u306b\u5fdc\u3058\u3066\u4ee5\u4e0b\u306e\u691c\u7d22\u304c\u53ef\u80fd\u3067\u3059\u3002 ID\u3067\u691c\u7d22 \u6761\u4ef6\u306b\u30de\u30c3\u30c1\u3059\u308b\u6700\u521d\u306e\u30c7\u30fc\u30bf\u3092\u691c\u7d22 \u6761\u4ef6\u306b\u30de\u30c3\u30c1\u3059\u308b\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u691c\u7d22 \u30c7\u30fc\u30bf \u30c6\u30fc\u30d6\u30eb\u5b9a\u7fa9: CREATE TABLE kittens ( id int(11) NOT NULL auto_increment PRIMARY KEY, name VARCHAR(255), color VARCHAR(255), age int(4) ); \u30c7\u30fc\u30bf: mysql> select * from kittens; +----+-------+-------+---\u2026","author_name":"unageanu","version":"1.0","blog_url":"https://unageanu.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/unageanu/","title":" ActiveRecord\u3067\u691c\u7d22","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20070510%2F1178757588\" title=\" ActiveRecord\u3067\u691c\u7d22 - \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>","provider_name":"Hatena Blog"}