GithubHelp home page GithubHelp logo

Comments (6)

grimen avatar grimen commented on May 24, 2024

You need to specify more info than that. Most probably something you're doing wrong, and not an issue with Authlogic. Without you specifying some debugging info, it's not possible to find out right. I would suggest the Google Group instead of filing issues if it's just a question you have.

from authlogic.

 avatar commented on May 24, 2024

Hi P, like grimen said, I really can't determine what the issue is with the information you provided. I can say there are multiple test in place for email validation ensuring that valid emails pass, and all of my tests are passing. So I'm guessing it has something to do with another plugin or gem you have. Maybe you made a change in your model and didn't realize it? If you continue to have problems check out google group and I'll help you there.

from authlogic.

pierrenel avatar pierrenel commented on May 24, 2024

hi!

I probably just did something silly - I'll try again by following the Railscast :)

Thanks,

P

from authlogic.

rednax avatar rednax commented on May 24, 2024

I encountered the same problem too. As to other folks on google groups - and there's no straight solution. A bummer to get so close - since authlogic is recommended for beginners - it's really frustrating to not get anywhere close and seeing other people with similar problem but no solution.

from authlogic.

izza56 avatar izza56 commented on May 24, 2024

Hi, Getting the same problem myself. Funny thing is, I got this working fine on my PC at work. When I did, I uploaded the project to github. I have just now pulled the project down to my laptop, installed the authlogic gem 2.1.3 ran a rake db create and then a db migrate and am now encountering this error when I attempt to register a new user.

So, the code is the same on both machines but it works on one but not the other.
Can someone think of a reason as to why this could be?

from authlogic.

izza56 avatar izza56 commented on May 24, 2024

Ok I have clocked what is going here. In case anyone else comes upon the same issue, it is since the migration to the 'add_users_password_reset_fields" database. This in turn created an 'email' column and made it an indexed field, thus no nulls allowed. so, when registering a user (with no email field present) I am getting the errors mentioned.

So, to get around this I simply added the following to the \app\views\users\ _form.erb

<%= form.label :email %>

<%= form.text_field :email %>


from authlogic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.