Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have a way of overriding the 'ruby_class' thing? #22

Closed
mungler opened this issue Aug 14, 2010 · 1 comment
Closed

Can we have a way of overriding the 'ruby_class' thing? #22

mungler opened this issue Aug 14, 2010 · 1 comment

Comments

@mungler
Copy link

mungler commented Aug 14, 2010

Hey,

I'd like to use couch_potato to integrate with an existing CouchDB system. We already have a standard naming for the 'type' of each document (we're using doctype). I don't want to have 'doctype' as well as 'ruby_class' in every document.

Would it be possible to make the string used configurable, while defaulting to 'ruby_class'? It would make couch_potato much more suitable for integrating with existing couchdb systems.

Cheers

@langalex
Copy link
Owner

as far as i remember you can already do this:

JSON.create_id = 'doctype'

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants