scambra/devise_invitable — Issue #157: Invitation email is sent out even with skip_invitation set to true
Author: macmartine
Created: 2012-01-20 23:38:42+00:00
State: open

Shouldn't this stop the invitation from being sent?

Using 0.6.0

@user_obj = User.new(params[:user])
if @user_obj.valid?
@user_obj.invite! do |u|
u.skip_confirmation!
u.skip_invitation = true
end
end