Posts Tagged ‘rails’

It happens to the best of us

Posted by Rahoul Baruah on October 5th, 2009 under Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: , , , , , ,  •  Comments Off

We just had some customers report a bug. Not good. We didn’t get an exception email. All the tests passed. We couldn’t see anything untoward in the log files. But it was there. We could reproduce it, both in staging and in production. Not good at all.
But the weirdest thing was we couldn’t [...]

My cron jobs and rake tasks won’t write to the Rails log file

Posted by Rahoul Baruah on June 1st, 2009 under General, Ruby on Rails and Software Development Tags: , , ,  •  Comments Off

A project I’ve been working on was recently moved up to Rails 2.2 (Rails 2.3 migration coming soon, but we wanted to take things one step at a time).
All the tests passed. Poking it on the staging server worked well. On to production and all was good.
Time passed. [...]

Women in Technology

Posted by Rahoul Baruah on April 29th, 2009 under General Tags: , ,  •  3 Comments

A conversation between me and my (14 year old) daughter:
Me: Are any of your friends “into” computers? You know, writing stuff, making websites, coding?
Daughter: I think [girl's name] is. She does layouts and codes for web stuff.
Me: Really? Interesting. But just her then?
Daughter: Yeah.
Me: So why [...]

Moving to Coda

Posted by Rahoul Baruah on April 22nd, 2009 under General, Ruby on Rails and Software Development Tags: , , , , , ,  •  1 Comment

Tomorrow I’m actually going to do it.
I’m going to change the tools that I use to code in Ruby for the first time in four years. You see, I must be one of the very very few Ruby-programming Mac-users that doesn’t like Textmate.
This is pretty much heresy to most Rubyists. [...]

The curious case of beauty in Ruby (or Rails vs Merb part 2)

Posted by Rahoul Baruah on December 27th, 2008 under Beautiful Code, Designing Great Software, General, Ruby on Rails and Software Development Tags: , , ,  •  8 Comments

I’m sure you’ve all heard the Rails 3 announcement. When I first found out my initial reaction was “fuck me“. But shortly after I was filled with a feeling of dread and general unease. And I didn’t know why ….
Firstly, a bit of history.
I first tried programming on a Commodore [...]

Writing tests for your controllers improves the design of your models

Posted by Rahoul Baruah on December 20th, 2008 under Designing Great Software, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: , ,  •  Comments Off

I’ve recently been updating some old code – partly written by someone else, partly written by myself. At the time, I thought I had written this code really well; looking back on it now, it looks awful. Fair enough, I’ve learnt a lot – I want to look back on old code and [...]

Acceptance Testing in Ruby, Rails, RSpec and Cucumber

Posted by Rahoul Baruah on November 21st, 2008 under Beautiful Code, Designing Great Software, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: , , , , ,  •  Comments Off

I’ve written up a new post at the Brightbox blog detailing how we are using RSpec and Cucumber to build acceptance tests for the next generation Brightbox systems.

Rails 2.1 and 2.2: CSRF vulnerability and work-around

Posted by Rahoul Baruah on November 19th, 2008 under Ruby on Rails and Software Development Tags: , ,  •  Comments Off

I’ve done a quick write-up on the recent CSRF vulnerability on the Brightbox blog.

Rails vs Merb (updated)

Posted by Rahoul Baruah on November 18th, 2008 under General Tags: , ,  •  4 Comments

What the fuck is this?
Merb is launched and DHH suddenly has a load of “Rails Myths” posts up on his blog. Like this sly little dig:

it shows the great power of being an full-stack framework

Wycats responds with a slightly less sly dig:

For the moment, these differences are the reason that [...]