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
You need to write this instead:
rails dbconsole test -p
Posted by Henning Koch to makandra dev (2011-09-06 11:35)