Downgrade rails dependency