scambra/devise_invitable — pull request #244 by camallen (2012-10-25 12:45:26+00:00)
Title: A malformed post request to create causes error

A malformed post request to create (i.e. missing the email param OR containing a non-existant email) causes the first function to throw an error.

I've added a rescue nil clause to handle this error and added a test for this. It looks like this may not be used in the edge branch but i thought it might be worthwhile in the meantime.