# File lib/rbatis.rb, line 241 def map(record, result) # association has already been loaded, don't overwrite with proxy return if result.instance_variable_get("@#{name}".to_sym) result.instance_variable_set("@#{name}".to_sym, LazyLoadProxy.new(self, result)) end