Launching Rails console1:04 with Jay McGavren
We've seen how to use the Web interface to create new model objects. Now, I want to show you how to do the same from the terminal, using the "Rails console".
To launch the Rails console, type in your terminal:
You'll leave your system prompt, and be taken to a prompt provided by Ruby. Here you can type Ruby expressions. They'll be evaluated, and you'll be shown the result.
You need to sign up for Treehouse in order to download course files.Sign up