modifications due to appraisal, rails version, and AR version