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 31
      def initialize(klass, association) #:nodoc:
        @association = association
        super klass, klass.arel_table, klass.predicate_builder

        extensions = association.extensions
        extend(*extensions) if extensions.any?
      end
Register or log in to add new notes.