News for hackers. Stuff that matters.
Re:Using “and” and “or” in Ruby by jamesbritt on Monday August 02, 2010 @04:35PM (#1568960)
FWIW

    user = User.find(...) and (
          ...
    )
also works. I find it cleaner. But using begin/end means you can toss a `rescue` in there if you like.

There are no comments on this comment yet.