{"id":6611,"date":"2015-11-27T17:03:45","date_gmt":"2015-11-27T08:03:45","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=6611"},"modified":"2016-02-14T22:38:15","modified_gmt":"2016-02-14T13:38:15","slug":"rorform_for%e3%81%a7%e3%80%81%e3%82%a8%e3%83%a9%e3%83%bcactionviewtemplateerror-undefined-method-xxx_path-%e3%81%8c%e5%87%ba%e3%82%8b%e3%81%a8%e3%81%8d%e3%81%99%e3%81%b9%e3%81%8d%e3%81%93","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/6611","title":{"rendered":"[Rails]form_for\u3067\u3001\u30a8\u30e9\u30fc&#8221;ActionView::Template::Error (undefined method xxx_path&#8230;&#8221;\u304c\u51fa\u308b\u3068\u304d\u3059\u3079\u304d\u3053\u3068"},"content":{"rendered":"<p>\nRuby on Rails\u3067\u30e2\u30c7\u30eb\u3092\u4f5c\u308a\u3001view\u306e\u4e2d\u3067form_for\u30d8\u30eb\u30d1\u30fc\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3057\u305f\u3068\u304d\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\nActionView::Template::Error (undefined method `users_path&#8217; for &#8230;)<br \/>\n<br \/>\n\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001routes.rb\u306b\u4e0b\u8a18\u306e\u5b9a\u7fa9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3046\u307e\u304f\u3044\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u4e0b\u8a18\u306f\u3001Users\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002<br \/>\n<pre lang=\"ruby\">\nresources :users\n<\/pre>\n<br \/>\n<br \/>\n\u53c2\u8003:<br \/>\nhttp:\/\/stackoverflow.com\/questions\/8706774\/undefined-method-with-path-while-using-rails-form-for<br \/>\n<br \/>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ruby on Rails\u3067\u30e2\u30c7\u30eb\u3092\u4f5c\u308a\u3001view\u306e\u4e2d\u3067form_for\u30d8\u30eb\u30d1\u30fc\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3057\u305f\u3068\u304d\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 ActionView::Template::Error (undefined method `users_path&#8217; for &#8230;) \u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001routes.rb\u306b\u4e0b\u8a18\u306e\u5b9a\u7fa9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3046\u307e\u304f\u3044\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 \u4e0b\u8a18\u306f\u3001Users\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002 resources :users \u53c2\u8003: http:\/\/stackoverflow.com\/questions\/8706774\/undefined-meth\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[186],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7801,"url":"http:\/\/nanoappli.com\/blog\/archives\/7801","url_meta":{"origin":6611,"position":0},"title":"WordPress\u306e\u66f4\u65b0\u3067&#8221;Maximum execution time of 30 seconds exceeded &#8220;\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306b\u3059\u3079\u304d\u4e8b","date":"2016\u5e7412\u670830\u65e5","format":false,"excerpt":"WordPress\u306e\u66f4\u65b0\u3092\u884c\u3046\u3068\u304d\u306b\u3001\"Maximum execution time of 30 s\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8008,"url":"http:\/\/nanoappli.com\/blog\/archives\/8008","url_meta":{"origin":6611,"position":1},"title":"[php]composer self-update\u3067\u30a8\u30e9\u30fc[Composer\\Downloader\\TransportException]\u304c\u51fa\u308b\u3068\u304d","date":"2017\u5e742\u670813\u65e5","format":false,"excerpt":"composer\u3092\u4f7f\u7528\u3057\u3066\u3044\u3066composer self-update\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306b\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7976,"url":"http:\/\/nanoappli.com\/blog\/archives\/7976","url_meta":{"origin":6611,"position":2},"title":"[PHP]mcrypt_module_open()\u3067\u30a8\u30e9\u30fc\u201dCall to undefined method&#8221;\u304c\u51fa\u308b\u3068\u304d","date":"2017\u5e742\u67086\u65e5","format":false,"excerpt":"php\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3001mcrypt_module_open()\u30e1\u30bd\u30c3\u30c9\u3092\u30b3\u30fc\u30eb\u3057\u305f\u3068\u304d\u3001Call t\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4643,"url":"http:\/\/nanoappli.com\/blog\/archives\/4643","url_meta":{"origin":6611,"position":3},"title":"[HI-TECH C]__CONFIG()\u3067undefined identifier &#8220;CP_OFF&#8221;\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408","date":"2012\u5e749\u670822\u65e5","format":false,"excerpt":"\u51fa\u529b\u3055\u308c\u308b\u30a8\u30e9\u30fc\u306e\u4f8b [192] C:\\project\\pic\\16F84A_Ctest\\main.\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7122,"url":"http:\/\/nanoappli.com\/blog\/archives\/7122","url_meta":{"origin":6611,"position":4},"title":"tar\u30b3\u30de\u30f3\u30c9\u3067&#8221;Exiting with failure status due to previous errors&#8221;\u30a8\u30e9\u30fc","date":"2016\u5e742\u670820\u65e5","format":false,"excerpt":"Lolipop\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3067\u7a3c\u52d5\u3057\u3066\u3044\u308bWordPress\u306e\u30c7\u30fc\u30bf\u3092tar\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3044\u305f\u306e\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7971,"url":"http:\/\/nanoappli.com\/blog\/archives\/7971","url_meta":{"origin":6611,"position":5},"title":"[git]\u30a8\u30e9\u30fc&#8221;LF will be replaed by CRLF in&#8221;\u304c\u51fa\u308b\u3068\u304d\u3001\u7279\u5b9a\u30ea\u30dd\u30b8\u30c8\u30ea\u3060\u3051\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5","date":"2017\u5e742\u67087\u65e5","format":false,"excerpt":"git for Windows\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001git add\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u4e0b\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6611"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=6611"}],"version-history":[{"count":4,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6611\/revisions"}],"predecessor-version":[{"id":7120,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/6611\/revisions\/7120"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=6611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=6611"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=6611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}