Write your ActiveRecord associations in AR 4 syntax, but use them in AR 2 and AR 3