<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 require 'acts_as_readable'
 require 'reading'
-#require 'user_with_readings'
+require 'user_with_readings'
 
 ActiveRecord::Base.send :include, ActiveRecord::Acts::Readable</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
-class User &lt; ActiveRecord::Base
+User.class_eval do
   has_many :readings
 end
\ No newline at end of file</diff>
      <filename>lib/user_with_readings.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a98c237e18305d897bea4a96629fcda05313e86a</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Ng</name>
    <email>ayn@andrewng.com</email>
  </author>
  <url>http://github.com/mbleigh/acts-as-readable/commit/380721c32d4404149a24f90f22640ac17523761a</url>
  <id>380721c32d4404149a24f90f22640ac17523761a</id>
  <committed-date>2008-04-30T00:12:20-07:00</committed-date>
  <authored-date>2008-04-30T00:12:20-07:00</authored-date>
  <message>re-opening User class with class_eval instead of defining new one, as it caused problems before by overriding the entire app User class...

notice you will probably have to change the plugin load order in environment.rb if your app's User model depends on other plugins</message>
  <tree>a962b04de715f7435b6ae97df445a1766e13ece6</tree>
  <committer>
    <name>Andrew Ng</name>
    <email>ayn@andrewng.com</email>
  </committer>
</commit>
