12 Matching Annotations
  1. Jun 2025
    1. A 2023 piece from the New Republic

      for - to - article - New Republic - Michelin Guide - When I Google, I can't find. It's drowned out by a sea of Michelin articles. Why can't I find it? - I emailed New Republic. They confirmed that no such article exists - article - New Republic - citation not valid

    2. The Michelin Guide wasn't born in a restaurant. It was born in a garage. In 1900, the Michelin brothers, Edward and Andre, needed to sell tires in a country with fewer than 3,000 cars. So, they printed a travel booklet free of charge that listed gas stations, hotels, and restaurants.

      for - history - Michelin Guide - Michelin tire company - article - New Republic - citation not valid - checked with New Republic. They said that they could not find the article cited by this video

  2. Dec 2022
  3. May 2022
    1. 1/ It fits into existing spec based testing infrastructure nicely, including running on travis, code coverage using SimpleCov, switching between generating a profile (RubyProf), a benchmark (Benchmark::IPS) or normal test run. 2/ Some of my benchmarks do have expect clauses to validate that things are working before invoking the benchmark.

      Answering the question:

      I don't understand the point of putting it in a spec. What does that gain you over using benchmark-ips the normal way?

    2. I just wanted to mention there was, IMHO, a valid use case for this. It helps add to the validity of the ticket and the design of the feature.
  4. May 2021
  5. Mar 2021
    1. Responders don't use valid? to check for errors in models to figure out if the request was successful or not, and relies on your controllers to call save or create to trigger the validations.
  6. Feb 2021
    1. My only concern with this approach is that if someone calls #valid? on the form object afterwards, it would under the hood currently delete the existing errors on the form object and revalidate. The could have unexpected side effects where the errors added by the models passed in or the service called will be lost.
    2. My concern with this approach is still that it's somewhat brittle with the current implementation of valid? because whilst valid? appears to be a predicate and should have no side effects, this is not the case and could remove the errors applied by one of the steps above.
    1. And if there's a suitable vulnerability, it might be possible to trigger it even without using <iframe>, <img> or <a> element, so it's not worth considering for this issue.
  7. Oct 2020