From a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be Mon Sep 17 00:00:00 2001 From: Dan Neumann Date: Sun, 13 Feb 2011 18:14:05 -0600 Subject: Added --sandbox option to rails console explanation. --- railties/guides/source/getting_started.textile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'railties/guides') diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index bf15afcd62..6fb54bfd49 100644 --- a/railties/guides/source/getting_started.textile +++ b/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 +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: -- cgit v1.2.3