I tried this but then i get

## Exception
uninitialized constant DataMapper::CouchResource - (NameError)
/home/bai/sandbox/qwerty/app/models/post.rb:2

## Model:
1: class Post
2:   include DataMapper::CouchResource
N:  property ....
M: end

## database.yml
development: &defaults
  repositories:
    default:
      adapter:  sqlite3
      database: dbs/development.db
    posts: couchdb://localhost:5984/posts

Thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to