6.1.3 Creating user objects

As in Chapter 4, our tool of choice for exploring data models is the
Rails console. Since we don’t (yet) want to make any changes to our
database, we’ll start the console in a sandbox:

$ rails console --sandbox
Loading development environment in sandbox
Any modifications you make will be rolled back on exit
>>

As indicated by the helpful message “Any modifications you make will be
rolled back on exit”, when started in a sandbox the console will “roll
back” (i.e., undo) any database changes introduced during the session.
Add rails console to the mix