scambra/devise_invitable — comment on commit a7105842f77cfaf7a9f579a43f7d1a324ada8292
File: lib/devise_invitable/model.rb line 52
By scambra:

The recommended way is
User.invite!(params) do |user|
user.method_calls
end

If you decide to call instance method you should mimic invite! class method behaviour.
You can use user.invite! if user.valid?