fixes typos in README

Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
SengMing Tan 2011-02-21 20:08:58 +11:00 committed by Marcos Tapajós
parent 6b66e7f23e
commit 491d057035

View file

@ -222,7 +222,7 @@ you'd like to use. For example:
property :toys, [CatToy]
end
@cat = Cat.new(:name => 'Felix', :toys => [{:name => 'mouse', :purchases => 1.month.ago}])
@cat = Cat.new(:name => 'Felix', :toys => [{:name => 'mouse', :purchased => 1.month.ago}])
@cat.toys.first.class == CatToy
@cat.toys.first.name == 'mouse'
@ -261,7 +261,7 @@ Two types at the moment:
collection_of :tags
This is a somewhat controvesial feature of CouchRest Model that some document database purists may fringe at. CouchDB does not yet povide many features to support relationships between documents but the fact of that matter is that its a very useful paradigm for modelling data systems.
This is a somewhat controvesial feature of CouchRest Model that some document database purists may cringe at. CouchDB does not yet povide many features to support relationships between documents but the fact of that matter is that its a very useful paradigm for modelling data systems.
In the near future we hope to add support for a `has_many` relationship that takes of the _Linked Documents_ feature that arrived in CouchDB 0.11.