class CheckItemsConstraint def self.matches?(request) request.params[:commit] == 'Check' end end