mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Note about how to exit the console in the Getting Started guide
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user