Rails console in a non-dev environment
Snippet
Instead of being asleep at 14:21 on 15 February 2023, kitt created this:
Use rails console
for a (debugging) console in the current, default environment, usually development.
Use -e [environment]
to load a different local to the shell.
# start a console in the test environment rails console -e test
Add new comment