Created
August 23, 2015 18:26
-
-
Save mayra-cabrera/5fdfbdbbd873045e2377 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 user_info(user) | |
"Name: #{user.name}. Dept: #{user.department.try(:name)}" | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment