Dec
01
2011
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
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 »
Oct
03
2011
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 »