On Tue, Jun 25, 2013 at 5:06 PM, monte olvera <lists@ruby-forum.com> wrote:
> I want to allow a user to sign up with a username but am getting these
> errors and don't know how to proceed. Notice the 'Email can't be blank'
> error, even though I'm not wanting to accept an email for
> authentication.
Did you remember to set "config.authentication_keys = [:username]" in
the initializer? Show us at least the non-commented-out lines.
> It also doesn't recognize that I entered a password or
> that they matched (even though they did):
That sounds like you may be pulling out the wrong part of the params.
Can you show us the controller action and logged params? Or are you
just using the default Devise controllers?
-Dave
--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQijP%2BA%3DwLTPmET_xx4cfVAChBbsiBujs8mjMunXEaX%3D-mg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment