rake db:migraterails c
user=User.create!(:email=>'[email protected]',:password=>'password')
exitCreate a new file: config/bi_database.yml
Set the database credentials inside:
credentials:
host: 'localhost'
user: 'root'
pass: ''
database: 'mydatabase'rails shttp://localhost:3000