Hello, all.  I have followed these links and have enabled a (current)
user to login with a username:

http://railscasts.com/episodes/209-introducing-devise
http://railscasts.com/episodes/210-customizing-devise
https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address

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.  It also doesn't recognize that I entered a password or
that they matched (even though they did):

Sign up
3 errors prohibited this user from being saved:
Email can't be blank
Password can't be blank
Password confirmation doesn't match Password


Please see attached devise view new.html.erb and devise model user.rb

Please let me know if you require any further information.  Any help
would be greatly appreciated.  Thanks.

Attachments:
http://www.ruby-forum.com/attachment/8539/new.html.erb
http://www.ruby-forum.com/attachment/8540/user.rb


-- 
Posted via http://www.ruby-forum.com/.

-- 
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+unsubscr...@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/f85bd747954322568fa15d10171e77f4%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to