fixes #13971 - pass IDs to model.find and .exists?
AR objects should not be passed to .exists? or .find, the ID should begiven instead. Passing AR objects is deprecated in Rails 4.2.
fixes #13971 - pass IDs to model.find and .exists?
AR objects should not be passed to .exists? or .find, the ID should be
given instead. Passing AR objects is deprecated in Rails 4.2.