-
-
Save asmega/1116740 to your computer and use it in GitHub Desktop.
find and replace with sed for rails 3 upgrade on named_scopes
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
find . -name *.rb -type f -exec sed -i 's/named_scope/scope/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment