Skip to content

Commit

Permalink
fix: Support ActiveRecord config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
shunsugai committed Jul 9, 2024
1 parent 34c054c commit af05ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/seed-fu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af05ecb

Please sign in to comment.