Rails Scope wo nicht
scope :scope_name, -> { where.not(target: 'value')) }
Jolly Jay
scope :scope_name, -> { where.not(target: 'value')) }