scambra/devise_invitable — pull request #237 by workmad3 (2012-09-25 11:23:46+00:00)
Title: Check for arel table presence before adding scopes

When I had a newly reset database and a devise class that was an STI derived class, the invitable module threw an exception from the scopes. I've added a guard to the 'include' hook to check if the arel_table name exists before the scopes are added to fix this issue.