http://karunakar.blog.com

rails console —sandbox

h4. +rails console+
If you wish to test out some code without changing any data, you can do that by invoking +rails console —sandbox+.

<shell>
$ rails console —sandbox
Loading development environment in sandbox (Rails 3.1.0)
Any modifications you make will be rolled back on exit
irb(main):001:0>
</shell>

Comments (View)
blog comments powered by Disqus