{"blog_url":"https://kasei-san.hatenadiary.org/","url":"https://kasei-san.hatenadiary.org/entry/20120820/p3","image_url":null,"author_url":"https://blog.hatena.ne.jp/kasei_san/","provider_name":"Hatena Blog","published":"2012-08-20 00:00:02","provider_url":"https://hatena.blog","categories":["ruby","Rails","Ruby on Rails3 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"version":"1.0","blog_title":"\u304b\u305b\u3044\u3055\u3093\u3068\u3053","width":"100%","author_name":"kasei_san","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkasei-san.hatenadiary.org%2Fentry%2F20120820%2Fp3\" title=\" Ruby on Rails3 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u306e\u8aad\u66f8\u30e1\u30e2 2\u7ae0 Ruby on Rails \u306e\u57fa\u672c - \u304b\u305b\u3044\u3055\u3093\u3068\u3053\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" Ruby on Rails3 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u306e\u8aad\u66f8\u30e1\u30e2 2\u7ae0 Ruby on Rails \u306e\u57fa\u672c","type":"rich","description":"\u30de\u30b8\u30c3\u30af\u30b3\u30e1\u30f3\u30c8 # coding: utf-8 ruby1.9\u306e\u6a5f\u80fd\u3060\u3063\u305f\u6c17\u304c\u3059\u308b \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf $ rails generate controller \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u540d \u30a2\u30af\u30b7\u30e7\u30f3\u540d1 \u30a2\u30af\u30b7\u30e7\u30f3\u540d2 ... -f \u4e0a\u66f8\u304d, -s \u4e0a\u66f8\u304d\u3057\u306a\u3044 \u30a2\u30af\u30b7\u30e7\u30f3\u304c\u306a\u3044\u5834\u5408\u3001rails\u306f\u3044\u304d\u306a\u308aview\u3092\u547c\u3073\u3060\u3059 \u7a7a\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u5fc5\u8981\u306f\u7121\u3044 O/R \u30de\u30c3\u30d1\u30fc Object/Relational DB \u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u306e\u6a4b\u6e21\u3057 Rails\u3067\u306fActive Record 2.5 \u4e3b\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u7f6e config application.rb : \u5168\u74b0\u5883\u5171\u901a /e\u2026","height":"190"}