Rails console in a non-dev environment
Snippet
kitt decided around 14:21 on 15 February 2023 to publish 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