While working a project, we needed to access Google calendar's API but with a difference - the application was supposed to create new event in the Google Calendar accessed by authenticated users. After a little bit of research, I came across the Google Service Accounts that allows back-end authentication using Google authorization service. Basically, these Service Accounts allows you to access Google API's … Continue reading Tutorial: Using Google Service Accounts With A Rails Application
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
