{"type":"rich","categories":["Ruby","Rails"],"version":"1.0","image_url":null,"blog_title":"joker1007\u2019s diary","description":"Rails\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f3.2.8\u6642\u70b9\u306e\u3082\u306e\u3067\u3059\u3002(2012/8/21\u8ffd\u8a18) \u524d\u56de\u306e\u5192\u982d\u3067\u66f8\u3044\u3066\u305f\u306e\u3067\u3001Rails\u7248\u3082\u66f8\u3044\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3002 \u8981\u306f\u3001\u56f0\u3063\u305f\u3089\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb\u306e\u305d\u308c\u3063\u307d\u3044\u3068\u3053\u308d\u898b\u308c\u3070\u3001 Ruby/Rails\u306f\u5927\u4f53\u89e3\u6c7a\u3057\u3066\u304f\u308c\u308b\u3088(\u3057\u304b\u3082\u30b9\u30de\u30fc\u30c8\u306b)\u3063\u3066\u611f\u3058\u306a\u306e\u3067\u3001 \u60a9\u3093\u3060\u3089\u30cf\u30de\u308b\u524d\u306b\u4e00\u56de\u516c\u5f0f\u306b\u5e30\u308b\u306e\u3082\u3044\u3044\u624b\u6bb5\u3060\u3068\u601d\u3063\u3066\u307e\u3059\u3002 \u3067\u3082\u3001Rails\u306eAPI\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3069\u3053\u306b\u4f55\u66f8\u3044\u3066\u308b\u304b\u5206\u304b\u308a\u3065\u3089\u3044\u3068\u601d\u3046\u3002 \u4f8b\u3048\u3070\u3001has_many\u95a2\u9023\u306b\u306f\u3001\u5b9f\u306f:after_add\u3068\u304b:before_remove\u3068\u304b\u3001 \u305d\u306e\u624b\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092Proc\u3067\u6e21\u305b\u308b\u3093\u3060\u3051\u3069\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u8aac\u660e\u306e\u6240\u306b\u66f8\u3044\u3066\u306a\u3044\u3093\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjoker1007.hatenablog.com%2Fentry%2F20120818%2F1345292967\" title=\" Railser\u306a\u3089\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u5730\u5473\u3060\u3051\u3069\u4fbf\u5229\u306a\u30e1\u30bd\u30c3\u30c9 - joker1007\u2019s diary\" 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","provider_url":"https://hatena.blog","author_name":"joker1007","width":"100%","provider_name":"Hatena Blog","url":"https://joker1007.hatenablog.com/entry/20120818/1345292967","blog_url":"https://joker1007.hatenablog.com/","published":"2012-08-18 21:29:27","author_url":"https://blog.hatena.ne.jp/joker1007/","title":" Railser\u306a\u3089\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u5730\u5473\u3060\u3051\u3069\u4fbf\u5229\u306a\u30e1\u30bd\u30c3\u30c9"}