Skip to content

@jswanner /rails_bash_shortcuts
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
function sc {
if [ -e script/rails ]; then
rails console $@
else
script/console --debugger $@
fi
}
function ss {
if [ -e script/rails ]; then
rails server $@
else
script/server --debugger $@
fi
}
function sg {
if [ -e script/rails ]; then
rails generate $@
else
script/generate $@
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.