{"width":"100%","blog_url":"https://akinobu.net/","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/kuronekopunk/","published":"2014-07-16 14:57:47","url":"https://akinobu.net/entry/2014/07/16/145747","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakinobu.net%2Fentry%2F2014%2F07%2F16%2F145747\" title=\"NameError in Hoges#new : uninitialized constant Hoge - \u30ce\u30f3\u30ab\u30d5\u30a7\u30a4\u30f3\u3067\u3042\u306a\u305f\u306b\u3084\u3055\u3057\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby on Rails"],"title":"NameError in Hoges#new : uninitialized constant Hoge","height":"190","provider_url":"https://hatena.blog","author_name":"kuronekopunk","version":"1.0","blog_title":"\u30ce\u30f3\u30ab\u30d5\u30a7\u30a4\u30f3\u3067\u3042\u306a\u305f\u306b\u3084\u3055\u3057\u3044","image_url":null,"description":"\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u304c\u8a8d\u8b58\u3055\u308c\u305a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u305f\u306e\u3067\u306a\u306b\u304b\u306a\u3068\u601d\u3063\u305f\u3089\u30e2\u30c7\u30eb\u540d\u304c\u9593\u9055\u3048\u3066\u3044\u307e\u3057\u305f\u3002 \u3053\u306e\u30a8\u30e9\u30fc\u6587\u3060\u3068Hoge\u306bHogeHoge\u3092\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3057\u305f\u5834\u5408\u3067\u3059\u3002 \u30d0\u30fc\u30b8\u30e7\u30f3 ruby 2.1.2p95 Rails 4.0.5 \u30a8\u30e9\u30fc\u6587 ActionView::Template::Error (uninitialized constant Hoge::HogeHoge): \u30e2\u30c7\u30eb\u540d # \u8aa4 hoge_hoges.rb # \u6b63 hoge_hoge.rb raild g model HogeHoge \u3067\u4f5c\u3063\u305f\u306f\u305a\u306a\u306e\u306b\u306a\u3093\u3067\u3060\u308d\u2026\uff1f","type":"rich"}