How can I get my model to face the direction it is moving?

I want my model to face the direction that it is moving in. Does anyone have some good code to do this? Here is the code that I am using to move the model:

        moveDirection = new Vector3((Input.GetAxis("Horizontal")), (-Input.GetAxis("Vertical")), 0);
        moveDirection = transform.TransformDirection(moveDirection);
        moveDirection *= speed;

I want the model to rotate and face the direction that it is moving. Like I said if anyone has any good code for doing this, I would really appreciate it.

A simple way is to use `LookAt`. So this would give something like:

moveDirection = new Vector3((Input.GetAxis("Horizontal")), (-Input.GetAxis("Vertical")), 0);
moveDirection = transform.TransformDirection(moveDirection);
moveDirection *= speed;
if (moveDirection.sqrMagnitude > 0f) {
    transform.LookAt(transform.position + moveDirection, Vector3.forward);
}

It is not working for me. Any suggestions?