Skip to content

Instantly share code, notes, and snippets.

@matthooks
Created April 13, 2009 23:57
Show Gist options
  • Save matthooks/94838 to your computer and use it in GitHub Desktop.
Save matthooks/94838 to your computer and use it in GitHub Desktop.
# BEFORE
def validate_password_with_openid?
!using_openid? && require_password?
end
# AFTER
def validate_password_with_openid?
require_password?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment