Skip to content

Commit 5aee168

Browse files
committed
docs, nodoc NullPreloader and AlreadyLoaded.
These classes are part of Active Record Preloader, which is not part of the public API.
1 parent 3cd0530 commit 5aee168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/associations/preloader.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def grouped_records(association, records)
160160
h
161161
end
162162

163-
class AlreadyLoaded
163+
class AlreadyLoaded # :nodoc:
164164
attr_reader :owners, :reflection
165165

166166
def initialize(klass, owners, reflection, preload_scope)
@@ -175,7 +175,7 @@ def preloaded_records
175175
end
176176
end
177177

178-
class NullPreloader
178+
class NullPreloader # :nodoc:
179179
def self.new(klass, owners, reflection, preload_scope); self; end
180180
def self.run(preloader); end
181181
def self.preloaded_records; []; end

0 commit comments

Comments
 (0)