Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added --sandbox option to rails console explanation.

  • Loading branch information...
commit a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be 1 parent f7a31ce
Dan Neumann authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/guides/source/getting_started.textile
View
4 railties/guides/source/getting_started.textile
@@ -274,7 +274,7 @@ TIP: Rake is a general-purpose command-runner that Rails uses for many things. Y
h3. Hello, Rails!
-One of the traditional places to start with a new language is by getting some text up on screen quickly, to do this, you need to get your Rails application server running.
+One of the traditional places to start with a new language is by getting some text up on screen quickly. To do this, you need to get your Rails application server running.
h4. Starting up the Web Server
@@ -469,6 +469,8 @@ To see your validations in action, you can use the console. The console is a com
$ rails console
</shell>
+TIP: The default console will make changes to your database. You can instead open a console that will roll back any changes you make by using +rails console --sandbox+.
+
After the console loads, you can use it to work with your application's models:
<shell>
Please sign in to comment.
Something went wrong with that request. Please try again.