KatPadi's Point

Service Object Adventures

I have read a lot of Rails articles and most of them always tell you to keep your Rails controllers skinny. It sounds so easy but it’s really not. As the cliche goes, “it is easier said than done.” In real life, requirements get complicated. Controllers and models get longer and longer and you need to do something about…

Yet Another Rails Adventure

I’ve been playing with storing and setting dynamic stuff in Rails because I’ve been repeating similar codes over and over and it’s becoming annoying. Luckily, I found a pattern and started to experiment from there. In a nutshell, this is what I’m trying to achieve: Create dynamic re-usable sessions from a param[:filter] if it exists. For…

Change is inevitable

I’m getting used to it. In web development, it’s important to accept that everything you know right now will be replaced, altered, improved, updated or removed pretty soon. You can’t be too attached to your codes. Change is inevitable. In our industry, things are fast-paced. The best thing to do to keep up to speed…

STI

As I dive into more Rails-y stuff, I was told about the concept of Single Table Inheritance. (s/o to MJ for introducing me to this!) This Rails design pattern is characterized by using a single table that stores data from multiple models that inherit from a base model (the parent class of STI) which inherits from ActiveRecord::Base. (Whew!) OK,…

My 2015 Share-able Goals

In no particular order of priority, here are my 2015 share-able goals: join and participate in a hobby group i.e. drone group or R-Pi group drink grown-up coffee (no more sweet coffee *le sigh*) continue my special “secret” project join 1-2 hackathons (and win at least 1) improve as a Rails dev blog at least once…

katpadi_2014.log

New “stellar” work Towards the last quarter of the year, I transferred to a new Silicon Valley-based company. You know what they say. New work, new life. And so far, I’ve been very happy with my current employer. 🙂 We are in the process of building a cloud-based, big data customer loyalty solution app and I…

Meet Ernie

Note: This blog post is 2 weeks late. We (as usual, I was with Mark Steve) joined this event called Textify and we were given a month or so to think of an SMS-based project and build it. It was hosted by Chikka with the help of Smart DevNet to promote the use of the recently launched Chikka SMS API platform. At…