Fixed AR warning on ruby 2.2

- Changed `target` to `target_reflection` to avoid warning `possible reference to past scope`