2 repositories on SrcLog
Simulate multi-table inheritance for ActiveRecord models
Rails/Statesman plugin that handle multiple state machines on the same model through `has_one_state_machine` ActiveRecord macro