Read more

dbconsole in Rails 3 requires the environment as the first argument

Henning Koch
September 06, 2011Software engineer at makandra GmbH

There is a bug in Rails 3's dbconsole script, which makes the following command open a database console for the development environment:

rails dbconsole -p test
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

You need to write this instead:

rails dbconsole test -p
Posted by Henning Koch to makandra dev (2011-09-06 13:35)