ActiveRecord::Associations::Preloader changed signature in ActiveRecord 4.1

Add a conditional depending on the version of ActiveRecord being used.