{"title":"Ruby\u3067\u30af\u30e9\u30b9\u540d\u306e\u306f\u3058\u3081\u306b::(\u30b3\u30ed\u30f3\u30922\u3064)\u3092\u3064\u3051\u308b\u3068\u305d\u306e\u30af\u30e9\u30b9\u306e\u7d76\u5bfe\u7684\u306a\u4f4d\u7f6e\u8868\u73fe\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b","description":"Rails\u306eActiveRecord\u306e\u30af\u30e9\u30b9\u540d\u3068\u540c\u540d\u306eModule\u4f5c\u3063\u305f\u3068\u304d\u306b\u8aa4\u52d5\u4f5c\u3059\u308b\u3051\u3069\u3001\u3069\u3046\u3044\u3046\u539f\u7406\u306a\u306e\u304b\u3068\u3044\u3046\u30e1\u30e2 \u74b0\u5883 $ ruby -v ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16] \u8981\u7d04 :: \u304b\u3089\u59cb\u307e\u308b\u5834\u5408\u306f\u4e00\u756a\u4e0a\u4f4d\u306e\u30ec\u30d9\u30eb\u3092\u6307\u3059\u305f\u3081\u3001module\u5185\u306a\u3069\u3067\u4f7f\u3046\u5834\u5408\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u7d76\u5bfe\u7684\u306a\u4f4d\u7f6e\u3092\u8868\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u4f8b module\u306a\u3069\u3067\u540d\u524d\u7a7a\u9593\u3092\u533a\u5207\u3089\u306a\u3044\u30af\u30e9\u30b9\u304c\u3042\u308b\u3068\u3059\u308b class Hoge def initialize p \"root hoge\" end end \u3053\u308c\u306b\u5bfe\u3057\u3001\u540c\u540d\u306e\u30af\u30e9\u30b9\u3092\u6301\u3064\u304c\u3001\u2026","blog_title":"\u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69","blog_url":"https://shinkufencer.hateblo.jp/","author_name":"shinkufencer","type":"rich","author_url":"https://blog.hatena.ne.jp/shinkufencer/","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","width":"100%","height":"190","published":"2018-10-27 23:30:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2018%2F10%2F27%2F233000\" title=\"Ruby\u3067\u30af\u30e9\u30b9\u540d\u306e\u306f\u3058\u3081\u306b::(\u30b3\u30ed\u30f3\u30922\u3064)\u3092\u3064\u3051\u308b\u3068\u305d\u306e\u30af\u30e9\u30b9\u306e\u7d76\u5bfe\u7684\u306a\u4f4d\u7f6e\u8868\u73fe\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b - \u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69\" 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://shinkufencer.hateblo.jp/entry/2018/10/27/233000","categories":["Ruby","Tips"],"image_url":null}