class method self.new

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.1.12

Signature

self.new(owner, reflection)

No documentation comment.

Parameters

owner req
reflection req
Source
# File activerecord/lib/active_record/associations.rb, line 75
    def initialize(owner, reflection)
      super("Cannot modify association '#{owner.class.name}##{reflection.name}' because it goes through more than one other association.")
    end

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

Defined in ActiveRecord::HasManyThroughNestedAssociationsAreReadonly

Type at least 2 characters to search.

↑↓ navigate · open · esc close