Sha256: 95c1af686257e6515d90f139937d0c73248312f57ffdf12b731affcf3f3e8945

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

module ActiveRecord::Associations

  class HasManyThroughAssociation

    def member_class
      proxy_reflection.klass
    end
    
    def origin
      proxy_owner
    end

    def origin_attribute
      proxy_reflection.association_name
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hobo-0.7.3 hobo_files/plugin/lib/active_record/has_many_through_association.rb
hobo-0.7.5 hobo_files/plugin/lib/active_record/has_many_through_association.rb
hobo-0.7.4 hobo_files/plugin/lib/active_record/has_many_through_association.rb