Skip to content

Instantly share code, notes, and snippets.

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