News for hackers. Stuff that matters.
Re:How Homakov hacked GitHub & the line of code that could h... by lattepiu on Monday March 05, 2012 @12:24PM (#3667305)
The real culprit here is HashWithIndifferentAccess, a crutch that throws away a difference that Ruby has for a reason.

The sensible way to do updates, in my opinion, is

    User.update(:name => params['user']['name'])
But there's no way in Rails to keep that syntax while disabling

    User.update(params['user'])
Re:How Homakov hacked GitHub & the line of code that could h... by bluesnowmonkey on Monday March 05, 2012 @01:11PM (#3667538)
clutch -> crutch