Commit f94af172 authored by Igor Drozdov's avatar Igor Drozdov

Make NullPreloader flexible args-wise

parent 2be4b3d4
...@@ -4,7 +4,7 @@ module ActiveRecord ...@@ -4,7 +4,7 @@ module ActiveRecord
module Associations module Associations
class Preloader class Preloader
class NullPreloader class NullPreloader
def self.new(klass, owners, reflection, preload_scope) def self.new(*args, **kwargs)
self self
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment