diff options
author | Trevor Turk <trevorturk@gmail.com> | 2010-08-24 00:13:33 -0500 |
---|---|---|
committer | Trevor Turk <trevorturk@gmail.com> | 2010-08-24 00:13:33 -0500 |
commit | cbacc9700e68d1ea3e6cc83b08226c3ddb104537 (patch) | |
tree | dc31c99ff02ef07d3a8e927effed4ea6e94c1941 | |
parent | 13ebf69ae4a47f2d1d2b1eebd1e84df2098e3a57 (diff) | |
download | rails-cbacc9700e68d1ea3e6cc83b08226c3ddb104537.tar.gz rails-cbacc9700e68d1ea3e6cc83b08226c3ddb104537.tar.bz2 rails-cbacc9700e68d1ea3e6cc83b08226c3ddb104537.zip |
Note about how to exit the console in the Getting Started guide
-rw-r--r-- | railties/guides/source/getting_started.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index e68a82e9db..c292daa915 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -488,6 +488,8 @@ After the console loads, you can use it to work with your application's models: This code shows creating a new +Post+ instance, attempting to save it and getting +false+ for a return value (indicating that the save failed), and inspecting the +errors+ of the post. +When you're finished, type +exit+ and hit +return+ to exit the console. + TIP: Unlike the development web server, the console does not automatically load your code afresh for each line. If you make changes to your models while the console is open, type +reload!+ at the console prompt to load them. h4. Listing All Posts |