Created
December 9, 2013 18:22
-
-
Save turboladen/7877566 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
alias rdbm='bin/rake db:migrate db:test:clone' | |
alias rdbmt='bin/rake db:migrate RAILS_ENV=test' | |
alias rdbr='bin/rake db:rollback' | |
alias spec_all='bin/spring rspec spec' | |
spec_model() { bin/spring rspec spec/models/"$1"_spec.rb } | |
spec_controller() { bin/spring rspec spec/controllers/"$1"_controller_spec.rb } | |
spec_views() { bin/spring rspec spec/views/"$1"/*_spec.rb } | |
alias devlog='tail -f log/development.log' | |
alias testlog='tail -f log/test.log' | |
alias prodlog='tail -f log/production.log' | |
#alias rr='bin/rake routes' | |
rr() { bin/rake routes | grep "$1" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment