{"image_url":null,"description":"Module#prepend \u3067\u306e\u672c\u4f53\u306e\u30d8\u30eb\u30d1\u30fc\u3092\u4e0a\u66f8\u304d \u5f93\u6765 Redmine \u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u672c\u4f53\u306e\u52d5\u4f5c\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f alias_method_chain \u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u305f\u3002 Redmine 4 \u7cfb\u304b\u3089 Rails 5.x \u30d9\u30fc\u30b9\u3068\u306a\u3063\u3066 alias_method_chain \u304c\u5ec3\u6b62\u3055\u308c\u3066\u304b\u3089\u306f Module#prepend \u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u3002 prepend \u3092\u4f7f\u3048\u3070\u65e2\u5b58\u306e\u52d5\u4f5c\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002 # \u672c\u4f53\u306e\u30e2\u30b8\u30e5\u30fc\u30eb module ProjectsHelper def foo 'foo' end end # \u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u8ffd\u52a0\u3059\u308b\u30d1\u30c3\u30c1\u2026","blog_url":"https://suer.hatenablog.com/","categories":[],"provider_url":"https://hatena.blog","width":"100%","published":"2019-06-16 15:34:09","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuer.hatenablog.com%2Fentry%2F2019%2F06%2F16%2F153409\" title=\"Redmine \u30d7\u30e9\u30b0\u30a4\u30f3\u3067 controller \u3092 load \u3059\u308b\u3068\u5225\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u5f71\u97ff\u304c\u3042\u308b - suer \u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_name":"suer","type":"rich","author_url":"https://blog.hatena.ne.jp/suer/","height":"190","blog_title":"suer \u306e\u30d6\u30ed\u30b0","url":"https://suer.hatenablog.com/entry/2019/06/16/153409","title":"Redmine \u30d7\u30e9\u30b0\u30a4\u30f3\u3067 controller \u3092 load \u3059\u308b\u3068\u5225\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u5f71\u97ff\u304c\u3042\u308b"}