Sergio Cambra

Results 143 comments of Sergio Cambra

https://github.com/scambra/devise_invitable/blob/master/app/controllers/devise_invitable/registrations_controller.rb RegistrationsController is overrided so registering with an invited email should work, there are some tests for that.

DeviseInvitable only add a method to Devise mailer to send invitation email, so probably error is in devise, ActionMailer or smtp. That error is raised by ActionMailer, because it got...

Could you post sql queries or send pull request with failing test? I can't reproduce it

There is before_action loading resource, and I see it looks for user by invitation token, that before_action redirects if no user is found and display error, so I don't understand...

Are you logged in with different user when trying to accept invitation? You can try with 1.7.2, which has a fix to sign out before accepting invitation, I don't know...

I don't think 1.7.2 will make any difference if you do those steps, but you can try it just in case I missed something. Also, you could edit devise/invitations_controller.rb and...

invite_resource calls User.invite!, which calls user.invite! if no error. But existing user will have error, so if you want to call invite! instance method, you need to clear errors. With...