scambra/devise_invitable — pull request #213 by daveworth (2012-06-25 03:05:26+00:00)
Title: add handler for `invited_by` in instance `invite!` method

I have found that, in my workflow, I already have users created that I then have to invite later. In so doing I have to explicitly set the `invited_by` attribute where in the class method `Invitable#invite` the second parameter sets the inviter automatically. This patch should make the two methods _more_ compatible.

If there are any improvements you need before accepting this pull-request please let me know!