Created
November 20, 2013 04:38
-
-
Save harssh/7557821 to your computer and use it in GitHub Desktop.
command to open rails console in sandbox
This file contains hidden or 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
The Sandbox | |
Sometimes it would be nice to open up a console session and mess around with the data to see what happens. But if you do that, the data’s messed up. The solution to that is to lunch the console with the --sandbox flag. When launched, you can handle the data, tweak it, and destroy it, all without fear of harming any of your data. | |
Rails Console Sandbox | |
rails console --sandbox | |
Loading development environment in sandbox (Rails 3.2.1) | |
Any modifications you make will be rolled back on exit | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment