github.com
Too broad rewrite of `Repo.one` to `Repo.exists?` by katafrakt · Pull Request #186 · emkguts/quokka
Description
The rewrite rule for assert Repo.one is too broad. In cases when the database row exists but returns a single falsey value, the results would be different: Repo.one(query) would return ...