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: 1. Create new RVM gem set and use it. 2. gem install hobo --pre 3. "hobo new testapp" 4. choose invitation only site 5. choose public/private site type 6. main site is "bootstrap" + "pepper-grinder" 7. admin site is "bootstrap" + "pepper-grinder" 8. test framework is rspec + shoulda 9. fixture generation with factory_girl 10. migrate now 11. 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. 12. Run bundle install 13. Run "rails s" 14. Navigate to "localhost:3000" 15. Create initial admin user as prompted. 16. Once created and logged in as that user, navigate to "http://localhost:3000/admin/users" 17. Click on "Invite" button 18. Fill in name and email address for "test" user. 19. Click the "Invite" button 20. Copy the link from the console/log for the invitation to join link 21. Click on the logout button in the browser. 22. Paste the link into the browser and hit enter 23. 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. 24. 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]<javascript:> > > 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 hobousers+...@**googlegroups.com. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at >>>> http://groups.google.com/**group/hobousers?hl=en<http://groups.google.com/group/hobousers?hl=en> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> 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.
