<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,7 +12,7 @@ class ModifyPhotosForPolymorphic &lt; ActiveRecord::Migration
 
   def self.down
     add_column :photos, :person_id, :integer
-    Gallery.find(:all).each do |photo|
+    Photo.find(:all).each do |photo|
       photo.person_id = photo.owner_id
       photo.save!
     end</diff>
      <filename>db/migrate/20081117110424_modify_photos_for_polymorphic.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e0cd106b6a445d9ec300d2afa4351df66b1a6bb7</id>
    </parent>
  </parents>
  <author>
    <name>Ruben Gomez</name>
    <email>rugoli@gmail.com</email>
  </author>
  <url>http://github.com/yuki/insoshi/commit/6fdb51147d86163e1d5627425552ddf8d07aa228</url>
  <id>6fdb51147d86163e1d5627425552ddf8d07aa228</id>
  <committed-date>2008-12-02T03:36:25-08:00</committed-date>
  <authored-date>2008-12-02T03:36:25-08:00</authored-date>
  <message>Found a bug in the migrations.</message>
  <tree>b17fb8d90f764ac0e80caa01da4694fcf4417b71</tree>
  <committer>
    <name>Ruben Gomez</name>
    <email>rugoli@gmail.com</email>
  </committer>
</commit>
