scambra/devise_invitable — Issue #132: inline skip_invitation is not working as expected
Author: sairam
Created: 2011-10-19 20:25:00+00:00
State: open

According to the README, the following is not supposed to send an invitation mail, but looks like it does send an invitation mail

```ruby
User.invite!(:email => "new_user@example.com", :name => "John Doe", :skip_invitation => true)
# => the record will be created, but the invitation email will not be sent
```

The following works as expected w/o any problem.

```ruby
User.invite!(:email => "new_user@example.com") do |u|
u.skip_invitation = true
end
```