Flowdock
method

through_records_for

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasManyThroughAssociation
through_records_for(record) private

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/has_many_through_association.rb, line 149
        def through_records_for(record)
          attributes = construct_join_attributes(record)
          candidates = Array.wrap(through_association.target)
          candidates.find_all { |c| c.attributes.slice(*attributes.keys) == attributes }
        end
Register or log in to add new notes.