downgrade to rails