{"title":"Ruby\u306e\u30d0\u30c3\u30c1\u51e6\u7406\u3067ActiveRecord\u3092\u4f7f\u3063\u3066\u30e2\u30c7\u30eb\u30af\u30e9\u30b9\u7d4c\u7531\u3067\u306eDB\u63a5\u7d9a\u65b9\u6cd5","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","categories":["Ruby on Rails"],"author_url":"https://blog.hatena.ne.jp/hachinobu/","width":"100%","author_name":"hachinobu","type":"rich","description":"Ruby\u3067\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u66f8\u3044\u3066\u3044\u308b\u306e\u3060\u304cDB\u3078\u306e\u63a5\u7d9a\u3067\u82e6\u6226\u3057\u305f\u3002 Rails\u306eActiveRecord\u306e\u3088\u3046\u306b\u7c21\u5358\u306b\u51fa\u6765\u308b\u3082\u306e\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u305d\u3046\u3082\u3044\u304b\u305a.. \u3057\u304b\u3057rails runner\u3092\u4f7f\u3048\u3070Rails\u540c\u69d8\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u3067\u3044\u3051\u308b\u3068\u3044\u3046\u4e8b\u3092\u77e5\u308a\u307e\u3057\u305f\u3002 \u307e\u305a\u306f\u6e96\u5099\u3068\u3057\u3066config/application.rb\u306b config.autoload_paths += %W(#{config.root}/lib) config.autoload_paths += Dir[\"#{config.root}/lib/**/\"]\u6b21\u306brails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306elib/tasks\u914d\u4e0b\u306b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb(sam\u2026","version":"1.0","height":"190","blog_url":"https://hachinobu.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachinobu.hateblo.jp%2Fentry%2F20130703%2F1372851847\" title=\"Ruby\u306e\u30d0\u30c3\u30c1\u51e6\u7406\u3067ActiveRecord\u3092\u4f7f\u3063\u3066\u30e2\u30c7\u30eb\u30af\u30e9\u30b9\u7d4c\u7531\u3067\u306eDB\u63a5\u7d9a\u65b9\u6cd5 - hachinoBlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://hachinobu.hateblo.jp/entry/20130703/1372851847","published":"2013-07-03 20:44:07","blog_title":"hachinoBlog"}