Drawing the State Machine Diagram of Rails