Created
October 11, 2013 02:04
-
-
Save troyk/6928559 to your computer and use it in GitHub Desktop.
ruby rants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deliver {reset_code: user.password_reset_code_deliver!} | |
#SyntaxError (/Users/troy/Projects/church/app/controllers/api/users_controller.rb:126: syntax error, unexpected ':', expecting '}' | |
# deliver {reset_code: user.password_reset_code_deliver!} | |
# ^): | |
deliver({reset_code: user.password_reset_code_deliver!}) | |
# umm, ok ruby so parens are optional when? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment