Category Archives: Programming

Getting Clearance test suite to green

The title could be slightly misleading but I am not talking about installing clearance in your Rails application. This post is just a small note to myself since I had considerable difficulties in getting the clearance gem’s test suite working … Continue reading

Posted in Programming | Tagged , | Leave a comment

ActiveModel API and Parameter Object design pattern

About 3 months ago, I was working on this piece of code which had some “virtual models”. Virtual models are the entities that are well defined models except they are never persisted to the database. They are just kept in … Continue reading

Posted in Programming | Tagged | Leave a comment

Trunkly Chrome extension

Yahoo announced quite a while ago that delicious (their bookmarking tool) will be shut down and I started looking for alternatives. There are few things I am looking for in a bookmarking tool: 1. I don’t want to pay for … Continue reading

Posted in Programming | Tagged | Leave a comment

Designer code meet

Do you write Designer code? Well, this was the topic of Chris Parsons’s (eden developments) talk on Thursday evening. The presentation was top-notch and so was the exercise afterwards. I was lucky enough to pair up with James Adams (from … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Rails inflections and the word ‘Equipment’

I was in two minds about this post’s title. On one hand, I think this should be called “Why googling is not the answer to every question?” and on the other hand the current title will probably interest more people. … Continue reading

Posted in Programming, Rant | Tagged | Leave a comment

Comment multiple lines in MacVim

Commenting multiple lines is mostly used when one is debugging and quickly wants to take a piece of code out, just to put it back again. Here’s how one can achieve in the same in MacVim. 1. Press ‘V’ on … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Moving this blog from Dreamhost to Linode

This post is in continuation to my earlier post which simply mentions the move of this blog from Dreamhost to Linode and this post is an attempt to expound on a little bit of the details and the experience. This … Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment

Rails mentoring

A great way to learn is by teaching others. Why? Because explaining solutions to others gives you a greater understanding of the problem and the solution itself. I have never had any opportunities to really mentor anyone before. Recently, I … Continue reading

Posted in Programming, Rails | Tagged , | Leave a comment

Apache on Mac

To restart apache on Mac, all you need to do is uncheck(and check) Web Sharing through your System Preferences -> Internet and Network -> Sharing but what it does not tell you is any error messages in the config. Therefore, … Continue reading

Posted in Programming | Tagged , | Leave a comment

Moving from Dreamhost to Linode

Yes, after 3 years with DreamHost, I have finally moved my blog to a Linode server and it did not go as planned therefore, lack of activity on the blog. I never had any issues with it. It was cheap, … Continue reading

Posted in Programming, hosting | Tagged , , , , , | 1 Comment