News for hackers. Stuff that matters.
Re:Rails – The Missing Parts – Policies by mjbellantoni on Thursday March 20, 2014 @01:57PM (#7437351)
I know this isn't the point of your comments, but I'll take the opportunity to point out that Ruby has a case statement that reads a lot better for code like this:

  case
  when user.blacklisted?
    # ... code ...
  when grouper.full?
    # ... code ...
    # ... and so on ...
  end

There are no comments on this comment yet.