<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -27,7 +27,7 @@ module ActiveRecord
       
       module InstanceMethods
         def read_by!(user)
-          readings &lt;&lt; Reading.new(:user =&gt; user)
+          readings &lt;&lt; Reading.new(:user_id =&gt; user.id)
         end
         
         def unread_by!(user)</diff>
      <filename>lib/acts_as_readable.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>380721c32d4404149a24f90f22640ac17523761a</id>
    </parent>
  </parents>
  <author>
    <name>Raymond Law</name>
    <email>rayvinly@gmail.com</email>
  </author>
  <url>http://github.com/mbleigh/acts-as-readable/commit/37cd25589fd85fc643ffacd32b131e52f549bb60</url>
  <id>37cd25589fd85fc643ffacd32b131e52f549bb60</id>
  <committed-date>2008-05-07T19:12:11-07:00</committed-date>
  <authored-date>2008-05-07T19:12:11-07:00</authored-date>
  <message>Cannot create Reading instance in read_by!

- ActiveRecord association wreak havoc with restful_authentication due to somre weird reloading of user.rb.
- Changed to user to user.id to avoid dealing with association.</message>
  <tree>9a9a9047a5e525b8c4f6281009f2f5ce624fa326</tree>
  <committer>
    <name>Raymond Law</name>
    <email>rayvinly@gmail.com</email>
  </committer>
</commit>
