Thanks Don for the super clear details. Upgrades are indeed fun :).

It seems like the integration tests did not test this as weel as they
should. I just added an issue and will make sure I add a test case for this.

https://github.com/Hobo/hobo/issues/54

Warm regards,
Ignacio

El 30/12/13 00:05, Donald Ziesig escribió:
> Hi All!
> 
> As I mentioned in one of my earlier posts, I was playing with the latest
> hobo, using it to port some of my model train code to a new
> environment.  One of the websites is for one of the local model railroad
> clubs and I wanted to make it private to the membership using
> invite-only and no guest options in the setup wizard.
> 
> I wanted to test the privacy of the site so I went off and invited a
> test member.
> 
> Bang!
> 
> 
>   NoMethodError in Admin::UsersController#do_invite
> 
> 
>     protected method `redirect_to' called for
>     #<Admin::UsersController:0x00000003daf6a8>
> 
> 
> In my usual methodology, I dropped back to simple websites
> (clean_sidemenu, clean, bootstrap) with no app-specific code and tested
> each in turn.  All of them gave the same response after I tried to
> invite a new user.
> 
> I know that the email was properly formatted and the user was created. 
> The invite response link (from development.log) works to activate the
> user.  I don't know if the email would have been sent if I had it set up
> but I suspect that it would have because it looks like the redirect was
> back to where I was when I sent the invite.
> 
> I'm pretty sure that the problem is somewhere in the hobo stack.  I put
> tracer /logger.debug/ statements around all places where /redirect_to/
> was invoked and they all were called and returned appropriately.  The
> error appears significantly later in the log.
> 
> Aren't upgrades fun?;-)
> 
> Don Ziesig
> 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to