diff --git a/lib/seed-fu.rb b/lib/seed-fu.rb index 4748559..933c0f4 100644 --- a/lib/seed-fu.rb +++ b/lib/seed-fu.rb @@ -31,6 +31,6 @@ def self.seed(fixture_paths = SeedFu.fixture_paths, filter = nil) end # @public -class ActiveRecord::Base +ActiveSupport.on_load(:active_record) do extend SeedFu::ActiveRecordExtension end