Forked from shageman/Sort the Ruby files in your project by number of has_many
Last active
August 29, 2015 14:12
-
-
Save cantonic/181fe6000964488e5f8f to your computer and use it in GitHub Desktop.
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
#Sort the Ruby files in your project by number of has_many | |
ack " has_many " -c | awk -F ":" '{print $2,$1}' | grep -v "0" | sort -rn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment