Update rails files so app will boot with rails3.