diff options
author | Dan Neumann <danneumanntx@gmail.com> | 2011-02-13 18:14:05 -0600 |
---|---|---|
committer | Dan Neumann <danneumanntx@gmail.com> | 2011-02-13 18:14:05 -0600 |
commit | a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be (patch) | |
tree | 6452b08aa34134d13ae9deac95cba01329fec1d6 /railties | |
parent | f7a31ce1cd23b2f05a80d5c954e9a9b833665618 (diff) | |
download | rails-a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be.tar.gz rails-a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be.tar.bz2 rails-a1cc07c35eb5f2f66d39fd2ba22a84cdd9cf99be.zip |
Added --sandbox option to rails console explanation.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/getting_started.textile | 4 |
1 files changed, 3 insertions, 1 deletions
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 </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> |