-
-
Save anonymous/cff39e5d669d0ec9e9b3b150c095feb1 to your computer and use it in GitHub Desktop.
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
def check(param) | |
ops << [:replace, [param].to_sym, user.public_send(param) unless user.public_send(param) == existing.public_send(param) | |
end | |
check(gecos) | |
check(description) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment