lib/datashift/method_detail.rb in datashift-0.14.0 vs lib/datashift/method_detail.rb in datashift-0.15.0
- old
+ new
@@ -129,9 +129,10 @@
if(item)
record.send(operator + '=', item)
break
end
rescue => e
+ logger.error "Failed to match belongs_to association #{value}"
puts "ERROR: #{e.inspect}"
if(x == Populator::insistent_method_list.last)
raise "I'm sorry I have failed to assign [#{value}] to #{@assignment}" unless value.nil?
end
end
\ No newline at end of file