Overview
Drawing the State Machine Diagram of Rails.
Add this line to your application’s Gemfile:
gem 'draw_smd'
And then execute:
$ bundle
Add this line to your config/routes.rb:
mount DrawSmd::Engine, at: '/rails/draw/smd'
Draw by selecting the model: