January 11, 2019 Rails Active Records - where, where-not and nil Today my colleague points out that confusing behavior of where.not query dealing with nil. Here is my note on it.