Organizing readme... more easy to read

This commit is contained in:
Tapajós 2009-09-03 23:43:06 -03:00
parent 9a5ac84737
commit 7872d37dce

View file

@ -128,8 +128,8 @@ Check the mixin or the ExtendedDocument class to see how to implement your own c
property :last_name, :alias => :family_name property :last_name, :alias => :family_name
property :read_only_value, :read_only => true property :read_only_value, :read_only => true
property :name, :length => 4...20 property :name, :length => 4...20
property :price, :type => Integer property :price, :type => Integer
### Casting ### Casting
@ -166,7 +166,6 @@ Low level usage:
Article.paginate(:design_doc => 'Article', :view_name => 'by_date', Article.paginate(:design_doc => 'Article', :view_name => 'by_date',
:per_page => 3, :page => 2, :descending => true, :key => Date.today, :include_docs => true) :per_page => 3, :page => 2, :descending => true, :key => Date.today, :include_docs => true)
## Ruby on Rails ## Ruby on Rails
CouchRest is compatible with rails and can even be used a Rails plugin. CouchRest is compatible with rails and can even be used a Rails plugin.