user association target check instead of @instance_var

The latter seems to be gone with rails 3.1 now