Skip to content

Instantly share code, notes, and snippets.

@masterkain
Created September 9, 2008 12:23
Show Gist options
  • Save masterkain/9660 to your computer and use it in GitHub Desktop.
Save masterkain/9660 to your computer and use it in GitHub Desktop.
def self.available_languages_codes
codes = []
available_languages_columns.each do |column|
codes << column.to_s.gsub(/content_/, '')
end
codes
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment