class method self.new

Ruby on Rails 4.2.11.3

Since v4.2.11.3 Last seen in v4.2.11.3

Signature

self.new(block)

No documentation comment.

Parameters

block req
Source
# File activerecord/lib/active_record/associations/association_scope.rb, line 9
        def initialize(block)
          @block = block
        end

Defined in activerecord/lib/active_record/associations/association_scope.rb line 9 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Associations::AssociationScope::BindSubstitution

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close