Read about our upcoming Code of Conduct on this issue

  • Yorick Peterse's avatar
    Clean up ActiveRecord code in TodosFinder · c454a2f4a6ca
    Yorick Peterse authored
    This refactors the TodosFinder finder according to the new code reuse
    rules, as enforced by the CodeReuse cops. I also changed some of the
    methods to use regular if statements, instead of assignments and/or
    early returns. This results in a more natural flow when reading the
    code, and it makes it harder to accidentally return the wrong result.
project.rb 67.1 KB