<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -141,6 +141,18 @@ Check the mixin or the ExtendedDocument class to see how to implement your own c
     property :read_only_value,  :read_only =&gt; true
     property :name,             :length    =&gt; 4...20
     property :price,            :type      =&gt; Integer
+    
+Attribute protection from mass assignment to CouchRest properties. There are two modes of protection:
+
+1) Declare accessible poperties, assume all the rest are protected 
+    property :name,       :accessible =&gt; true
+    property :admin       # this will be automatically protected
+
+2) Declare protected properties, assume all the rest are accessible
+    property :name        # this will not be protected
+    property :admin,      :protected =&gt; true
+
+Note: you cannot set both flags in a single class
 
 ### Casting
 </diff>
      <filename>README.md</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ca2faa81fe166a0391b4724acf5cee1d359fe266</id>
    </parent>
  </parents>
  <author>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </author>
  <url>http://github.com/mattetti/couchrest/commit/40bef6cafb9769652c1b19e4964fe1246abf663a</url>
  <id>40bef6cafb9769652c1b19e4964fe1246abf663a</id>
  <committed-date>2009-11-01T04:47:48-08:00</committed-date>
  <authored-date>2009-11-01T04:47:48-08:00</authored-date>
  <message>Updating README</message>
  <tree>78e71c6851bf7205a6d159fedcfe272ef74fd747</tree>
  <committer>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </committer>
</commit>
