Signup confirmation message not spotted

15 views
Skip to first unread message

Ryan Bigg

unread,
Apr 9, 2011, 11:27:26 PM4/9/11
to Devise
I have an app at http://github.com/rails3book/ticketee which has a
feature at features/signing_up.feature. This feature worked fine until
I added the :confirmable module to my model in which case things
started to break, obviously.

So when I tried to fix it up rather than looking for a message
containing "We have sent you a confirmation email" or something along
those lines I must check for "You need to sign in or sign up before
continuing.", as the process of signing up redirects my user to the
root path which then redirects them to the sign in path.

This seems a little backwards... so is there a way to get the sign up
"action" to NOT redirect them to the root path?

Ryan Bigg

unread,
Apr 9, 2011, 11:33:39 PM4/9/11
to Devise
I am aware now that you can override the
after_inactive_sign_up_path_for method in
Devise::RegistrationsController, but that would require me defining my
own controller and having that inherit from
Devise::RegistrationsController. Explaining all that to somebody who's
new to Rails within a book is going to be extremely difficult.

Are we able to configure this setting somewhere else, like as an
option in config/initializers/devise.rb?

On Apr 10, 1:27 pm, Ryan Bigg <radarliste...@gmail.com> wrote:
> I have an app athttp://github.com/rails3book/ticketeewhich has a
Reply all
Reply to author
Forward
0 new messages