method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Branch
new(association:, children:, parent:, associate_by_default:, scope:) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/preloader/branch.rb, line 11
        def initialize(association,, children,, parent,, associate_by_default,, scope))
          @association = association
          @parent = parent
          @scope = scope
          @associate_by_default = associate_by_default

          @children = build_children(children)
          @loaders = nil
        end
Register or log in to add new notes.