Feb 02 2012

For Freelancers

Ruby Freelance | comments

This is a response to an email I received yesterday. I am trying to reduce the number of times I say things by just blogging about them.

This is my straightforward response to someone with a Master in Computer Science from India regarding his query about career prospects in Ruby on Rails and how to start as a freelancer.

Continue reading »
Dec 01 2011

Testing a REST Web Service with Cucumber

TDD Github API | comments

The Cucumber book has been helpful in a way that I saw more options for testing a web service. It's my first time to use HTTParty. In the past, I always used RESTClient gem for this kind of task.

Just think the example is overkill. Maybe we just want to know whether the JSON response includes the data we expect.

Continue reading »
Nov 21 2011

Learn HTML5 before you learn Rails

HTML5 CSS | comments

"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 »
Nov 10 2011

How to test devise features with Cucumber

Cucumber Ruby | comments

Updated the Devise wiki page on "How To: Test with Cucumber" on github. Following the guide should work.

Continue reading »
Oct 03 2011

Install Rails 3.1 on Windows, Mac and Linux

Rails31 | comments

This is yet another guide.So much have been written. Probably replicates other guides which I have not checked. But this is updated for Rails 3.1.1.

This guide will constantly be updated as needed.

Continue reading »