Technology Agnostic Rubyist : Open Source Lights The Way

Monday, February 22, 2010

reverse engineering and acts_as_state_machine

I started using railroad to help me understand (by way of reverse engineering) a complex system I'm working on.

I really like the fact that it generates .dot files which can be opened and manipulated using Omnigraffle, but it was failing on AASM due to complicated dependencies which I don't care to resolve.

Today I discovered that I can use ruby-graphviz to make pretty drawings of complex state machine events in my models. I highly recommend it.

Tweets

Contributors