Sha256: ed772eb62fe2905e8bbae3abee13157ea0ab540ea7b3e385c9b1601e36392381

Contents?: true

Size: 234 Bytes

Versions: 33

Compression:

Stored size: 234 Bytes

Contents

module ActiveRecord
  module Associations
    class CollectionProxy #:nodoc:
      def origin
        proxy_association.owner
      end

      def origin_attribute
        proxy_association.reflection.name
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo-2.2.6 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.5 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.4 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.3 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.2 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.1 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.2.0 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.2 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.1 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.0 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.0.pre4 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.0.pre3 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.0.pre2 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.1.0.pre1 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.1 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.0 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.0.pre10 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.0.pre9 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.0.pre8 lib/hobo/extensions/active_record/associations/proxy.rb
hobo-2.0.0.pre7 lib/hobo/extensions/active_record/associations/proxy.rb