<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,6 @@
 package flails {
-  import flash.utils.Dictionary;
 
-  import mx.collections.ArrayCollection;
+  import flash.utils.Dictionary;
 
   public class IdentityMap {
     private var map:Dictionary = new Dictionary();
@@ -11,16 +10,6 @@ package flails {
       this.modelClass = modelClass;
     }
 
-    public function fetchAndUpdateCollection(idProperty:String, data:Array):ArrayCollection {
-      var coll:ArrayCollection = new ArrayCollection();
-
-      for each (var o:Object in data) {
-        coll.addItem(fetchAndUpdate(o[idProperty], o));
-      }
-
-      return coll;
-    }
-
     public function fetchAndUpdate(id:Object, attributes:Object):* {
       if (id == null) {
         return new modelClass(attributes);</diff>
      <filename>src/flails/IdentityMap.as</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,6 @@ package test {
   public class FrameworkSuite extends TestSuite {
     public function FrameworkSuite() {
       addTestCase(new IdentityMapTestFetchAndUpdate());
-      addTestCase(new IdentityMapTestFetchAndUpdateCollection());
       addTestCase(new ResourceTest());
       addTestCase(new ResultTest());
       addTestCase(new RailsResourceTest());</diff>
      <filename>test/FrameworkSuite.as</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>test/IdentityMapTestFetchAndUpdateCollection.as</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>0e9fbfccec845b37ec0147e2670a852abc834fe8</id>
    </parent>
  </parents>
  <author>
    <name>David Leal</name>
    <email>dgleal@gmail.com</email>
  </author>
  <url>http://github.com/lancecarlson/flails/commit/27b92bcf7d36c695edabc70e73a52b9e1b48ad45</url>
  <id>27b92bcf7d36c695edabc70e73a52b9e1b48ad45</id>
  <committed-date>2009-11-05T11:13:08-08:00</committed-date>
  <authored-date>2009-11-05T11:13:08-08:00</authored-date>
  <message>Revert &quot;Make the identity map work with collections.&quot;

This reverts commit 7d18cea1c6d18a47f63afa9fcf2cfac0f48106e8.

Signed-off-by: David Leal &lt;dgleal@gmail.com&gt;</message>
  <tree>eb41e7584f499da8e5b808ffa8a65b8c149d80dc</tree>
  <committer>
    <name>David Leal</name>
    <email>dgleal@gmail.com</email>
  </committer>
</commit>
