Skip to content

Instantly share code, notes, and snippets.

@morganp
Created August 21, 2010 23:37
Show Gist options
  • Save morganp/543035 to your computer and use it in GitHub Desktop.
Save morganp/543035 to your computer and use it in GitHub Desktop.
#Sort by field / case insensitive
@tags = @tags.sort_by { |tag| tag.tag.downcase }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment