mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
docs, nodoc NullPreloader
and AlreadyLoaded
.
These classes are part of Active Record Preloader, which is not part of the public API.
This commit is contained in:
parent
3cd0530df6
commit
5aee168e73
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ module ActiveRecord
|
|||
h
|
||||
end
|
||||
|
||||
class AlreadyLoaded
|
||||
class AlreadyLoaded # :nodoc:
|
||||
attr_reader :owners, :reflection
|
||||
|
||||
def initialize(klass, owners, reflection, preload_scope)
|
||||
|
@ -175,7 +175,7 @@ module ActiveRecord
|
|||
end
|
||||
end
|
||||
|
||||
class NullPreloader
|
||||
class NullPreloader # :nodoc:
|
||||
def self.new(klass, owners, reflection, preload_scope); self; end
|
||||
def self.run(preloader); end
|
||||
def self.preloaded_records; []; end
|
||||
|
|
Loading…
Reference in a new issue