Helper for Rails `judge` gem.