Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix query methods throwing NoMethodErrors.
Unless statements are weird. I haven't been able to find sources to provide that document this, but from some testing it appears that || and && function *differently* in unless statements than if statements. 'unless false || true' and 'unless true || false' will not execute, but 'unless true && false' or 'unless false && true' will. I decided to simply break the break statement into two, because it is much more readable than 'break unless use_continuation && result.key?('continue')'. Many style guides support this, probably for both reasons I provided. cc @xbony2
- Loading branch information