Update JoinAssociation build to match new ActiveRecord api