Created
June 19, 2013 00:25
-
-
Save joseluistorres/5810744 to your computer and use it in GitHub Desktop.
HIDE YOUR SINS
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 get_campaign_language(language) | |
begin | |
languages = [] | |
if language | |
@campaign.languages << Language.find_by_lang_code(language) | |
languages << language | |
end | |
return languages | |
rescue StandardError => e | |
puts e #HIDEYOURSINS | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment