#667 ✓resolved
Pavel Kunc (merboutpost)

CouchDB adapter require 'couch' repository

Reported by Pavel Kunc (merboutpost) | November 23rd, 2008 @ 11:17 AM

The dm-couchdb-adapter (0.9.7) requires you to create repository called 'couch'. And if you have in your database.yml:

development: &defaults adapter: couchdb database: merboutpost host: localhost port: 5984

It complains. Why the adapter requires repository with the special name?

Comments and changes to this ticket

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) December 5th, 2008 @ 05:14 AM

    • Assigned user changed from “Sam Smoot” to “geemus (Wesley Beary)”
    • Tag changed from adapter, couchdb, dm-more, merb to adapter, couchdb, dm-more
    • State changed from “new” to “unconfirmed”

    monki, would you mind looking at this? If you decide to take this on, please mark it as "accepted".

    I'm not entirely sure it's a good idea for any adapter to mandate the repository it uses. One obvious side effect is that you can only use one CouchDB repository at a time. And while this is probably going to be uncommon, it is probably an unnecessary constraint.

  • geemus (Wesley Beary)

    geemus (Wesley Beary) December 5th, 2008 @ 12:06 PM

    • State changed from “unconfirmed” to “accepted”

    The intention had been to simplify the process of setting everything up, but I would agree it is counter to best practices and expectations. I'll work on a fix and update the documentation to explain things (rather than trying to mandate them).

  • geemus (Wesley Beary)

    geemus (Wesley Beary) December 6th, 2008 @ 02:11 PM

    • State changed from “accepted” to “resolved”

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket