Displaying 2 results from an estimated 2 matches for "test_production".
Did you mean:
temp_production
2006 Mar 04
2
unittest, not loading yml data
Here is my products.yml
version_control_book:
id: 1
title: Pragmatic Version Control
description: How to use version control
image_url: /images/sk_svn_small.jpg
price: 29.95
date_available: 2005-01-26 00:00:00
automation_book:
id: 2
title: Pragmatic Project Automation
description: How to automate your project
2007 Oct 12
1
database configuration specifies nonexistent postgresql adapter
...ly
2. Edited my Database.yml
development:
adapter: postgresql
database: test_development
username: postgres
password: xxx
host: localhost
test:
adapter: postgresql
database: test_test
username: postgres
password: xxx
host: localhost
production:
adapter: postgres
database: test_production
username: root
password: xxx
host: localhost
I had earlier created an appropriate migration file
then rake db:migrate
Result :
rake aborted!
database configuration specifies nonexistent postgresql adapter
I then use gem install postgres-pr
Then rake db:migrate
Result : same error mess...