<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -37,8 +37,8 @@ Any of these combinations should work.
 == Nested Params
 You can use combinations of arrays and hashes to specify nested params, much the same way ActiveRecord::Base#find's
 :include argument works.
- param_accessible [:account_name, :user =&gt; [:first_name, :last_name, :address =&gt; [:street, :city, :state]]]
- param_protected [:id, :password, :user =&gt; [:id, :password]]
+ param_accessible [:account_name, { :user =&gt; [:first_name, :last_name, :address =&gt; [:street, :city, :state]] }]
+ param_protected [:id, :password, { :user =&gt; [:id, :password] }]
 
 == Caveats
 Both &lt;tt&gt;param_protected&lt;/tt&gt; and &lt;tt&gt;param_accessible&lt;/tt&gt; are really just calls to &lt;tt&gt;prepend_before_filter&lt;/tt&gt;.  Thus any methods in your filter chain that run before either of these methods will have full access to the &lt;em&gt;unprotected&lt;/em&gt; &lt;tt&gt;params&lt;/tt&gt; Hash.</diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1d267003af4ab2e903e991d191121b68701798b3</id>
    </parent>
  </parents>
  <author>
    <name>Christopher J. Bottaro</name>
    <email>cjbottaro@alumni.cs.utexas.edu</email>
  </author>
  <url>http://github.com/cjbottaro/param_protected/commit/34ba534fcbf26bde044c705895aec726d0f03bba</url>
  <id>34ba534fcbf26bde044c705895aec726d0f03bba</id>
  <committed-date>2009-03-29T17:33:59-07:00</committed-date>
  <authored-date>2009-03-29T17:33:59-07:00</authored-date>
  <message>examples had invalid Ruby code</message>
  <tree>15f627ab4233388b7f0f446d1e82c256767c0834</tree>
  <committer>
    <name>Christopher J. Bottaro</name>
    <email>cjbottaro@alumni.cs.utexas.edu</email>
  </committer>
</commit>
