downgrade to rails 3