Thanks for the detailed report, Peter.  I was able to reproduce your error.

One step that people can try if they suspect a bug in Hobo:   Toggle
config.hobo.dont_emit_deprecated_routes.  If that changes the
behaviour of your program for better or worse, that's almost certainly
indicates a bug in Hobo.

(In fact, it might be helpful if others try doing this with their
working programs as a final test before we release 2.0.  It might help
shake out subtle bugs.)

cheers,
Bryan

On Wed, Feb 13, 2013 at 12:36 AM, Peter Pavlovich <[email protected]> wrote:
> Thank you for the response and help. Unfortunately that did not fix my
> problem.
>
> Again, here is the steps I took to reproduce the problem:
>
> Create new RVM gem set and use it.
> gem install hobo --pre
> "hobo new testapp"
> choose invitation only site
> choose public/private site type
> main site is "bootstrap" + "pepper-grinder"
> admin site is "bootstrap" + "pepper-grinder"
> test framework is rspec + shoulda
> fixture generation with factory_girl
> migrate now
> Once the generation is complete and the bundle command has completed, edit
> the gemfile and add the "thin" gem right after the "rails" entry at the top
> of the file.
> Run bundle install
> Run "rails s"
> Navigate to "localhost:3000"
> Create initial admin user as prompted.
> Once created and logged in as that user, navigate to
> "http://localhost:3000/admin/users";
> Click on "Invite" button
> Fill in name and email address for "test" user.
> Click the "Invite" button
> Copy the link from the console/log for the invitation to join link
> Click on the logout button in the browser.
> Paste the link into the browser and hit enter
> Enter a valid password with at least one capital letter and a number with a
> total character count of at least 8 and repeat it in the password
> verification field.
> Click "Accept Invitation" button.
>
> The form will now simply repaint, clearing the entered password and password
> confirmation fields. No error in the log, no flash message, no saving of the
> entered password for the user, no change of status to "active" from
> "invited". This functionality appears to be broken. I have tried this
> repeatedly and each time I have this same problem. Users cannot accept their
> invitations and become "active".
>
> Any ideas folks? I am really blocked here and can't get this website going
> live until my users can set their own passwords and activate their accounts!
>
> Regards,
>
> Peter
>
> On Tuesday, February 12, 2013 8:58:45 PM UTC-5, Vivek Sampara wrote:
>>
>> Peter,
>>
>> This is my application controller
>>
>> class ApplicationController < ActionController::Base
>>   protect_from_forgery
>>   include Hobo::Controller::AuthenticationSupport
>>   before_filter :except => [:signup, :do_signup, :login, :forgot_password,
>> :accept_invitation, :do_accept_invitation, :reset_password,
>> :do_reset_password, :index, :blog, :activate, :do_activate] do
>>      login_required unless User.count == 0
>>   end
>> end
>>
>> i made no changes in the users controller.
>>
>> Regards
>> Vivek
>>
>>
>> On Wed, Feb 13, 2013 at 12:26 AM, Peter Pavlovich <[email protected]>
>> wrote:
>>>
>>> Thanks Vivek!
>>>
>>> Did you add the before_filter on you /app/controllers/users_controller.rb
>>> file? Also, could you give me what you have for the whole before_filter
>>> statement (including the "do" clause)?
>>>
>>> Thank you!
>>>
>>> Regards,
>>>
>>> Peter
>>>
>>>
>>> On Tuesday, February 12, 2013 12:40:55 PM UTC-5, Vivek Sampara wrote:
>>>>
>>>> Hi,
>>>>
>>>> I had a similar problem . after digging around, my application
>>>> controller did not have :activate and :do_activate filters after upgrading
>>>> the application from 1.3 to 2.0. this the code on my controller
>>>>
>>>> before_filter :except => [:signup, :do_signup, :login, :forgot_password,
>>>> :accept_invitation, :do_accept_invitation, :reset_password,
>>>> :do_reset_password, :index, :blog, :activate, :do_activate] do
>>>>
>>>> Vivek
>>>>
>>>>
>>>> On Tue, Feb 12, 2013 at 10:23 PM, Peter Pavlovich <[email protected]>
>>>> wrote:
>>>>>
>>>>> I am having this same problem with an invitation-only website. Has
>>>>> anyone solved Alex's problem? I followed the same steps to solve this as 
>>>>> did
>>>>> Alex with the same results. I compared my app to a newly created app to
>>>>> ensure I didn't modify some file inadvertanatly. I did not.
>>>>>
>>>>> Any ideas folks?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Peter
>>>>>
>>>>> On Thursday, February 7, 2013 5:01:10 PM UTC-5, kevinpfromnm wrote:
>>>>>>
>>>>>> I've had some issues where I needed to specify the subsite on the
>>>>>> lifecycle creator/transition due to hobo not figuring out that it was 
>>>>>> needed
>>>>>> in admin space.  That's in the model btw
>>>>>>
>>>>>> On Saturday, February 2, 2013 9:11:19 AM UTC-7, Alex Greif wrote:
>>>>>>>
>>>>>>> sorry,
>>>>>>> changing the method name only solves the problem, that the password
>>>>>>> is stored,
>>>>>>> but creates a new problem: the invitation page is not shown.
>>>>>>>
>>>>>>> so please ignore my last post
>>>>>>>
>>>>>>> Alex.
>>>>>
>>>>> --
>>>>> 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?hl=en.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>
>>>>
>>> --
>>> 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?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>
>>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to