<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,6 @@ module PassiveRecord
       self.class.fields.flatten.each {|att| @attributes[att] = self.send(att) }
       @attributes
     end
-    class_inheritable_accessor :fields
   
     # Compare this object with another object of the same class. 
     # Returns true if the attributes and values are identical. 
@@ -26,6 +25,7 @@ module PassiveRecord
       self.attributes == other.attributes
     end
   
+    class_inheritable_accessor :fields, :associations
   
     class &lt;&lt; self
       # Provide some basic ActiveRecord-like methods for working with non-ActiveRecord objects
@@ -34,7 +34,7 @@ module PassiveRecord
       #   end
       def has_many(*associations)
         # Simply sets up an attr_accessor for each item in the list
-        @associations = associations
+        self.associations = associations
         associations.each {|association| attr_accessor association}
       end
     
@@ -58,9 +58,6 @@ module PassiveRecord
       # Returns the list of available has_many associations
       # 
       #   Model.associations #=&gt; [:names, :addresses]
-      def associations
-        @associations
-      end
     end
   
   end</diff>
      <filename>lib/passive_record.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c81b3410b935ec18a0d245cda00086620d4dbaea</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Heneise</name>
    <email>ryan@artofmission.com</email>
  </author>
  <url>http://github.com/artofmission/passive_record/commit/3f7188f94833d125d7803c6fb93746e28a4750fd</url>
  <id>3f7188f94833d125d7803c6fb93746e28a4750fd</id>
  <committed-date>2009-05-28T15:31:04-07:00</committed-date>
  <authored-date>2009-05-28T15:31:04-07:00</authored-date>
  <message>Made associations class_inheritable_accessor.</message>
  <tree>a1cc4dbb4623e1905bac51d4891385a0b7dcfac8</tree>
  <committer>
    <name>Ryan Heneise</name>
    <email>ryan@artofmission.com</email>
  </committer>
</commit>
