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 7575501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:42:19+00:00 2026-05-30T16:42:19+00:00

I have added the Devise gem to the ruby on rails app version 1.8.7.

  • 0

I have added the Devise gem to the ruby on rails app version 1.8.7. I using devise to authenticate and also I have created a model called user which will connect another database, I have mentioned/specified the database configurations in the create_connection,whenever I run the app in the local host, I am getting this error message

“undefined method `password_salt=’ for #”
As soon as I register a new member I am getting this error.

I am a newbie to rails,

Kindly help me out

  • 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-05-30T16:42:20+00:00Added an answer on May 30, 2026 at 4:42 pm

    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<br />
    

    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 :encryptable .....
    

    2.Update your devise gem

    bundle update or specify in your gem file to use latest devise gem 2.x

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

Sidebar

Related Questions

I have a rails app that is using Devise, with a User model, no
I have one model User with Devise gem. I added a new field called
I have a rails app with devise for my user model. In my app
I have a Rails 3 app and I'm using Devise and jQTouch. I've got
I recently added devise confirmable module to my rails app. My application runs well
My rails 3.0.3 app uses devise gem (1.1.5) for authentication and before I wasn't
I have created a new project using devise login according to Ryan Bates' railscast
Using Rails 3.1.3 with Devise 1.5.3. My app has accounts and users. Each account
Rails 3.1 Devise 1.4.2 I've added first_name and last_name columns to devise's User table.
I'm using rails 3.1 with Devise for user authentication... I'm having trouble either getting

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.