method
difference
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Associations::HasManyThroughAssociation
difference(a, b)private
No documentation available.
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 167
def difference(a, b)
distribution = distribution(b)
a.reject { |record| mark_occurrence(distribution, record) }
end