instance method reset_target!

Ruby on Rails 2.3.18

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

reset_target!()

No documentation comment.

Source
# File activerecord/lib/active_record/associations/has_one_through_association.rb, line 32
      def reset_target!
        @target = nil
      end

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

Defined in ActiveRecord::Associations::HasOneThroughAssociation

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