{"id":749,"date":"2022-08-30T15:06:32","date_gmt":"2022-08-30T15:06:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/method_missing-undefined-local-variable-or-method-authentication_keys-error-when-installing-devise-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:06:32","modified_gmt":"2022-08-30T15:06:32","slug":"method_missing-undefined-local-variable-or-method-authentication_keys-error-when-installing-devise-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/method_missing-undefined-local-variable-or-method-authentication_keys-error-when-installing-devise-collection-of-common-programming-errors\/","title":{"rendered":"`method_missing&#39;: undefined local variable or method `authentication_keys&#39; error when installing devise-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m trying to get Devise up and running. I&#8217;m using devise 1.0.10 and rails 2.3.8, on an otherwise pretty clean hostingrails install.<\/p>\n<p>When I run <code>ruby script\/generate devise_install<\/code><\/p>\n<p>I get the following error message. Has anyone seen this before. Any ideas how to proceed with the install? I searched around and hit a wall.<\/p>\n<p>Thanks, Tim<\/p>\n<p>ruby script\/generate devise_install \/home\/p7017r10\/appname\/config\/environment.rb:4: warning: already initialized constant RAILS_ENV \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/activerecord-2.3.8\/lib\/active_record\/base.rb:1994:in <code>method_missing': undefined local variable or method<\/code>authentication_keys&#8217; for # (NameError) from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models\/validatable.rb:18:in <code>included' from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models\/validatable.rb:16:in<\/code>class_eval&#8217; from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models\/validatable.rb:16:in <code>included' from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models.rb:66:in<\/code>include&#8217; from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models.rb:66:in <code>devise' from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models.rb:65:in<\/code>each&#8217; from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/models.rb:65:in <code>devise' from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/devise-1.0.5\/lib\/devise\/orm\/active_record.rb:24:in<\/code>included_modules_hook&#8217; &#8230; 37 levels&#8230; from \/usr\/local\/rvm\/gems\/ruby-1.8.6-p369\/gems\/rails-2.3.8\/lib\/commands\/generate.rb:1 from \/usr\/local\/rvm\/rubies\/ruby-1.8.6-p369\/lib\/ruby\/site_ruby\/1.8\/rubygems\/custom_require.rb:31:in <code>gem_original_require' from \/usr\/local\/rvm\/rubies\/ruby-1.8.6-p369\/lib\/ruby\/site_ruby\/1.8\/rubygems\/custom_require.rb:31:in<\/code>require&#8217; from script\/generate:3<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:37:58. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to get Devise up and running. I&#8217;m using devise 1.0.10 and rails 2.3.8, on an otherwise pretty clean hostingrails install. When I run ruby script\/generate devise_install I get the following error message. Has anyone seen this before. Any ideas how to proceed with the install? I searched around and hit a wall. Thanks, [&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-749","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/749","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=749"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/749\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}