Ruby Console, Environment And Sandbox
Join the DZone community and get the full member experience.Join For Free
Open console, set environment to :test, :development (default) or :production
$ script/console testOpen console, rollback database modifications on exit
$ script/console --sandboxCombine it
$ script/console test --sandboxMore rails console tricks: http://rors.org/2009/12/20/10-rails-console-tricks
Opinions expressed by DZone contributors are their own.