Flowdock
method

associated_records_by_owner

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: HasManyThrough
associated_records_by_owner(preloader) 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/preloader/has_many_through.rb, line 7
        def associated_records_by_owner(preloader)
          records_by_owner = super

          if reflection_scope.distinct_value
            records_by_owner.each_value { |records| records.uniq! }
          end

          records_by_owner
        end
Register or log in to add new notes.