{"id":1016,"date":"2022-08-30T15:10:59","date_gmt":"2022-08-30T15:10:59","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/nomethoderror-in-deviseregistrationscontrollercreate-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:10:59","modified_gmt":"2022-08-30T15:10:59","slug":"nomethoderror-in-deviseregistrationscontrollercreate-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/nomethoderror-in-deviseregistrationscontrollercreate-collection-of-common-programming-errors\/","title":{"rendered":"NoMethodError in Devise::RegistrationsController#create-Collection of common programming errors"},"content":{"rendered":"<p>i had this error once before, try the following<\/p>\n<p><b>1.Re-run your migrations again<\/b><\/p>\n<pre><code>rake db:migrate VERSION=0  #to rollback migrations to the first one if needed<br \/>\n<\/code><\/pre>\n<p>Just in case you have forgotten, uncomment the following line<\/p>\n<pre><code>t.string :password_salt\n<\/code><\/pre>\n<p>then migrate your database<\/p>\n<pre><code>rake db:migrate\n<\/code><\/pre>\n<p>Also make sure that encryptable is added to your database model<\/p>\n<pre><code>devise :encryptable .....\n<\/code><\/pre>\n<p><b>2.Update your devise gem<\/b><\/p>\n<p>bundle update or specify in your gem file to use latest devise gem 2.x<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:14:01. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>i had this error once before, try the following 1.Re-run your migrations again rake db:migrate VERSION=0 #to rollback migrations to the first one if needed Just in case you have forgotten, uncomment the following line t.string :password_salt then migrate your database rake db:migrate Also make sure that encryptable is added to your database model devise [&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-1016","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1016","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=1016"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}