check_errors_for now matches the signature in sprockets-rails.