{"id":619,"date":"2022-08-30T15:04:22","date_gmt":"2022-08-30T15:04:22","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/devise-undefined-method-users_url-for-registrationscontroller-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:04:22","modified_gmt":"2022-08-30T15:04:22","slug":"devise-undefined-method-users_url-for-registrationscontroller-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/devise-undefined-method-users_url-for-registrationscontroller-collection-of-common-programming-errors\/","title":{"rendered":"devise undefined method `users_url&#39; for RegistrationsController-Collection of common programming errors"},"content":{"rendered":"<p>I had the same problem, it looks a problem inside Devise (still present in master). The only solution I found was to go back to Devise 2.1.2 (I knew it was working because I used it in another project).<\/p>\n<p>So to fix this problem you can put<\/p>\n<pre><code>gem 'devise', '2.1.2'\n<\/code><\/pre>\n<p>in your Gemfile and then re-install it with<\/p>\n<pre><code>rails generate devise:install\n<\/code><\/pre>\n<p>Hope it helps you while Devise&#8217;s team fixes it<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 21:07:54. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I had the same problem, it looks a problem inside Devise (still present in master). The only solution I found was to go back to Devise 2.1.2 (I knew it was working because I used it in another project). So to fix this problem you can put gem &#8216;devise&#8217;, &#8216;2.1.2&#8217; in your Gemfile and then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-619","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=619"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}