In Rails 2 you’re able to run
script/console --sandbox
so you can play with production data and not accidentally break anything.
I can’t seem to find the equivalent command for Rails 3. Does anyone know what it is?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Easy, type in:
and that is it.
It is simple, but, sometimes, if you are not running
railsexecutable usingbundle exec, it may, or may not, result in an error. In order to avoid this, ALWAYS usebundle exec.To quote bundler page (if not documentation):