I have a self-association in a model
belongs_to :parent, class_name: "Person"
has_many :children, foreign_key: :parent_id, class_name: "Person"
getting the parents with where(parent_id: nil)
How do I get all person models with no children as a scope?