Exists? Don’t ignore!
You’ve been a ruby on rails developer for so long. You create migrations and never run into trouble. Suddenly you have multiple changes on your migration and you’re now paying attention to indexes more than you used to because your app is now growing and you need to make enhancements. Sounds like you? Tip: Don’t
read more
Web services and some tips to share
API stands for Application Programming Interface. I’m sure you wouldn’t be reading my post if you aren’t aware what it is. From Wikipedia: An application programming interface (API) is a source code-based specification intended to be used as an interface by software components to communicate with each other. An API may include specifications for routines, data structures, object classes, and variables.
read more
Picking up the breadcrumbs
Its always easy to skip going through the details of what your stacked up knowledge and just go for trying out new stuff. This time, I take it one step back and skim through pages of books I have always ignored and pick some sections that are worth looking into and post them here. I’ve
read more
The power of toggle
I don’t know if we’ve been missing out on deliberate API lovin’ or that we’re becoming dumber every minute because of too much work, or its just the love month? …but we’ve been missing the power of “toggle“. Toggle is defined as: any instruction that works first one way and then the other; it turns
read more
DIY Ruby SFTP to S3
I was faced by a challenge of transferring some files from an FTP server to S3. At first, the nature of the problem seemed simple. I just had to get the files to my local machine and then upload them to S3. Piece of cake! But lo and behold, when I saw that there were
read more
Forcing urls to use https
I found this extremely useful: def redirect_to_ssl redirect_to url_for params.merge({:protocol => ‘https://’}) unless request.ssl? end Put this in your application controller and call before_filter :redirect_to_ssl on every controller that would require ssl. You can pick which actions would only require this by extending your before_filter declaration as such: before_filter :redirect_to_ssl,
nly => [:new, :purchase] or
read more
Free mini store search app in PHP and AJAX – for dummies
My last PHP project was almost a year and a half ago. I started working in PHP eversince college. Moved on to Java, Python and now, Ruby. I must say, PHP was the longest scripting language I used in my entire professional programming career. Maybe because it was the easiest language to learn (and abuse).
read more
Migrate to your WordPress blog using Ruby and Atom
Recently, I have encountered a dilemma regarding my personal blog. I have it hosted by a local blog host provider. It was great staying there and blogging there when there was still this very tight-knit community of bloggers. From time to time, we’d all meet up and just express our thoughts in person. The providers
read more
Trust nothing but tests
Where have all the tests gone? What tests??? I hate it that I have to manually exert so much effort into checking everything one by one to see that nothing is broken. In the end, what you have painstakingly put into order always gets blamed, and you don’t have any proof whatsoever that its not
read more


