changes to get rails_upgrade to run