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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:13:26+00:00 2026-06-11T08:13:26+00:00

I followed the instructions for adding a username login instead of email (actually in

  • 0

I followed the instructions for adding a username login instead of email (actually in addition to email) for Devise. Problem is when I go to actually sign in, there’s a Javascript mechanism to make the login field red when a non-email address is entered. Then when you click the sign in button, there’s Javascript to prevent you from signing in and presents a black bubble stating, “Please enter an email address”.

Did I do something wrong? Are those Devise instructions out of date? How do I allow users to enter usernames instead of email addresses to login? I’m using the latest Devise and Rails (v3.2.8).

  • 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-11T08:13:28+00:00Added an answer on June 11, 2026 at 8:13 am

    I think you did something wrong. I implemented a login similar to what you’re describing recently and it worked just fine.

    It sounds like you need to edit your devise templates. Have you generated them already? If so, you need to change the field types to text fields wherever you have an email field and make sure you’re referencing ‘login’ instead of email.

    The “Update your views” section of that link explains how to do that.

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

Sidebar

Related Questions

I followed the instructions for adding ACRA to my project as follows: http://code.google.com/p/acra/wiki/BasicSetup Aside
I have followed the instructions here [MDC - Adding Extensions using the Windows Registry],
I followed instructions on http://twitter.github.com/bootstrap/javascript.html#dropdowns to enable a dropdownlist in my navigation bar but
I followed the instructions for adding AdMob in my app and I compiled my
I've followed instructions from this question on SO to set up RVM, rubies and
I downloaded the codeigniter extension of HybridAuth here: https://github.com/andacata/HybridIgniter I followed instructions on its
I am trying to do ssh connection using cygwin. I have followed instructions given
I'm a bit mystified as to how to do this. I have followed instructions
I need to find a sound library for haskell. I have followed instructions of
I followed the instructions on source.android.com to build the Android framework, but when I

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.