I am always doing that which I cannot do, in order that I may learn how to do it.
— Pablo Picasso

Learn HTML5 before you learn Rails

html5 css

"You cannot be a Ruby on Rails developer if you don't know HTML and CSS." I realized that 30 minutes before I was supposed to teach someone Ruby on Rails yesterday. Even if she is a computer science graduate, if her knowledge of HTML and CSS is not good enough then it becomes an exercise in futility to teach Ruby on Rails or even Unix. So on my way, I tried to recall links to resources for HTML5 and CSS3. Jsfiddle helped me out to teach basics of HTML5, CSS and jQuery! Yes, I taught DOM manipulation and how to "google fu." Those were not necessary but I wanted her to understand classes, ID's and how jQuery works. Within one hour and 30 minutes, I also explained the importance of using CSS frameworks and grid design. Most designers are fixated with the idea of designing without a framework/ grid in mind and it is bad for us all.

Continue reading »

Testing Some Devise Features With RSpec, Steak and Email Spec

rspec ruby steak email devise

Having spent hours writing cucumber tests and finding out that it all doesn't work with Rails 3.1 RC5 is frustrating. It disrupts the flow of things. In my mind all I wanted was to move on to focus on new features. Not being able to write tests for the new features because of incompatibility issues is just hell. That's the only reason why I started using Steak yesterday for acceptance tests.

Continue reading »

Hello! I am Kat. I've been a developer for several years. When I'm not sitting down, reading and working for long hours, I am traveling to some place of interest.
If you want to reach out, you can send me an email or add me up on Google Plus.