Change update_attribute to update_attributes for MongoDB compatibility
Change update_attribute to update_attributes for MongoDB compatibility

The update_attribute function isn't available under MongoDB.  Devise
itself never encounters this problem, because it uses update_attributes
instead.  So the easiest way to make devise_invitable compatible with
all of Devise's supported ORMs is to imitate its use of
update_attributes.

pat/devise_invitable