Created
May 29, 2009 15:20
-
-
Save tammersaleh/120001 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| def email_validate_confirmation_required? | |
| (self.email.blank? && !self.email_confirmation.blank?) || | |
| (!self.email.blank? && !self.email_confirmation.blank?) || | |
| (!self.email.blank? && self.email_confirmation.blank?) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment