Rails 3+ has dbconsole now, so this isn't needed