<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -66,21 +66,23 @@ module SeedFu
 end
 
 
-# Creates a single record of seed data for use
-# with the db:seed rake task. 
-# 
-# === Parameters
-# constraints :: Immutable reference attributes. Defaults to :id
-def self.seed(*constraints, &amp;block)
-  Seeder.plant(self, *constraints, &amp;block)
-end
+class ActiveRecord::Base
+  # Creates a single record of seed data for use
+  # with the db:seed rake task. 
+  # 
+  # === Parameters
+  # constraints :: Immutable reference attributes. Defaults to :id
+  def self.seed(*constraints, &amp;block)
+    SeedFu::Seeder.plant(self, *constraints, &amp;block)
+  end
 
-def self.seed_many(*constraints)
-  seeds = constraints.pop
-  seeds.each do |seed_data|
-    seed(*constraints) do |s|
-      seed_data.each_pair do |k,v|
-        s.send &quot;#{k}=&quot;, v
+  def self.seed_many(*constraints)
+    seeds = constraints.pop
+    seeds.each do |seed_data|
+      seed(*constraints) do |s|
+        seed_data.each_pair do |k,v|
+          s.send &quot;#{k}=&quot;, v
+        end
       end
     end
   end</diff>
      <filename>lib/seed-fu.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = 'seed-fu'
-  s.version = '0.0.1'
+  s.version = '0.0.2'
   s.date = '2008-08-16'
   
   s.summary = &quot;Allows easier database seeding of tables.&quot;</diff>
      <filename>seed-fu.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3900e430e7a693690715889ba56909a0401606a0</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </author>
  <url>http://github.com/mbleigh/seed-fu/commit/a5c2cfb39c96121e53760c726eccecf1052259c9</url>
  <id>a5c2cfb39c96121e53760c726eccecf1052259c9</id>
  <committed-date>2008-08-19T06:46:41-07:00</committed-date>
  <authored-date>2008-08-19T06:46:41-07:00</authored-date>
  <message>Fixed stupid typo merging errors. Sorry to anyone who used this in the last day or two.</message>
  <tree>74daa434a9657f76911cb16135f2749ac0eddc58</tree>
  <committer>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </committer>
</commit>
