Ruby on Rails Sunday, March 26, 2017

On Sun, Mar 26, 2017 at 4:28 PM, Raina Millay <rmmillay@gmail.com> wrote:
> I edited the file in Atom, and yes I closed out Atom and opened it back up
> again after I edited it.

That has nothing to do with the question: did you *restart* the rails
server after editing the config/database.yml file?

> I just started, I don't have the console set up yet because I haven't been
> able to get past this step.

There's nothing to "set up" - it's built in; "rails console" is the command
to run. Try it and see if you can access your ActiveRecord models.

Or alternatively, "rails dbconsole" should give you direct access to the
DB command line.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA-HxYiS7_fidqF3Se0U%3DzA_UKz5__NVWO1bti4UasQVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment