Sha256: 4fd98f9afc501b377ce672e4440ee8473fa77effb2d756e97bee7b34e8460fb8
Contents?: true
Size: 415 Bytes
Versions: 10
Compression:
Stored size: 415 Bytes
Contents
module Caboose # :nodoc: module Acts # :nodoc: class BelongsToWithDeletedAssociation < ActiveRecord::Associations::BelongsToAssociation private def find_target @reflection.klass.find_with_deleted( @owner[@reflection.primary_key_name], :conditions => conditions, :include => @reflection.options[:include] ) end end end end
Version data entries
10 entries across 10 versions & 4 rubygems