
couchdb adaptor defines no normalize_uri method
Reported by Jonathan Stott (namelessjon) | December 3rd, 2008 @ 02:34 PM
As the subject says, couchdb adaptor defines no normalize_uri method. This means that hash conditions from a database.yml file (or otherwise) get passed straight through without conversion to a URI, which causes an "Undefined Method: Host" error on attempting to access the database.
The data_objects adapter has an example you can probably crib some/all of the needed code from.
Comments and changes to this ticket
-
Jonathan Stott (namelessjon) December 3rd, 2008 @ 02:34 PM
- State changed from unconfirmed to confirmed
-
geemus (Wesley Beary) December 3rd, 2008 @ 06:06 PM
- State changed from confirmed to resolved
Copied from data_objects adapter, seems to work fine and should allow normal hash configs to work.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »