added mattvagues changes to devise invitable fork for rails4