blog

My experience at RubyConf Brasil, 2014

This was my first time attending Rubyconf Brasil and it is one of the best experience I have ever had at a conference. The conference for the speakers started a day early. There was a barbecue party arranged at the Codeminer HQ. It was a good idea since a lot of speakers were not from … Continue reading My experience at RubyConf Brasil, 2014

Tussle Of The State Machines

There's no shortage of Ruby state machine libraries (assm, state_machine, etc.). However when we needed to implement dynamic state machine we didn't find one. The Problem We needed a polymorphic class that could have different state machines triggered in it depending on some condition. Basically, here is what we wanted to achieve: Now the problem … Continue reading Tussle Of The State Machines