If you’re a Linux and a Mac OS X user, like I am, chances are that you tend to stick to the same browser in both the operating systems, maybe because you’re familiar with it or maybe because you just like that one browser. In my case, that’s usually the Mozilla Firefox browser. While I have both Chrome and Firefox installed on both my machines, I still tend to come back to Firefox always. Anyway, I digress.
I’ve been using Firefox to debug and display a ruby on rails app that I’m working on and it was going fine till I decided to use Safari for the same work, because I thought I should test in both the browsers.
Now, if you’ve developed any HTML based app before, you’d know how important and useful the “view source” function is, that any modern browser incorporates. HTML is a simple markup language and mostly you can just debug your markup by just looking at the browser UI, but sometimes, especially when you’re dynamically generating content and pages, as in case of Ruby on rails, you need to view the source to figure out what’s happening.