rails backward compatibility with respond_to