rails/rails — pull request #18197 by vipulnsward (2014-12-25 17:11:21+00:00)
Title: Fixed AR warning on ruby 2.2

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