new(klass, association) 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/collection_proxy.rb, line 33
      def initialize(klass, association) #:nodoc:
        @association = association
        super klass, klass.arel_table
        self.default_scoped = true
        merge! association.scope(nullify: false)
      end
Register or log in to add new notes.