Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8487519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:16:03+00:00 2026-06-10T21:16:03+00:00

I installed devise 1.1.rc0 and haven’t been able to get it to work in

  • 0

I installed devise 1.1.rc0 and haven’t been able to get it to work in my existing application.

I changed the gem file to gem 'devise' without specifying the version. Ran bundle install. Then ran rail destroy devise_install since that’s the command I used to install it.

*Then when I tried to reintall with rails generate devise:install it gives me this error:

gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:50:in method_missing': undefined methoddevise’ for # (NoMethodError)*


Ryan Bigg helped me figure out the above error was caused by the user model making a reference to devise, which after the uninstall causes an error. So I removed that reference.

Now I have this error.

gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize’: uninitialized constant User (NameError)

What is this referring to?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:16:05+00:00Added an answer on June 10, 2026 at 9:16 pm

    You’re getting this error because Devise isn’t configured, yet your model references it. Remove the call to the devise method (or comment it out) in any model that references it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've installed devise on my app and applied the following in my application.html.erb file:
I'm developing Rails application and I have to use authentication. I installed devise gem
Following the README documentation, I installed Devise into an existing Rails 3 application. However,
I have a question. Devise and mailboxer are installed on my rails app without
Does anyone had installed Devise gem with Sinatra? Devise is based on Warden and
I started a clean rails app, installed and migrated the devise gem as well
I installed the active_admin gem in a working rails application. After doing this, the
After I installed the gem devise .. when I try to run the server
I just created a sample application with devise plugin installed. I have :token_authenticatable in
I tried to install the same why that I installed 1.1.rc0 but i get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.