~/railsapp]$ ./script/console production
Rolling back database changes after exiting
If you start the console with the '--sandbox' option, any database changes you make will be rolled back when you exit. This allows you to try some funky things on your data.
~/railsapp]$ ./script/console --sandbox
I found these tips, and more at this blog post (kind of old, but still very useful).
No comments:
Post a Comment