Tente isto:
# Notice single = vs ==
WHERE (archived = 1)
Atualizar Acabei fazendo
scope :is_archived, where('archived != ?', 1)
scope :not_archived, where('archived = ?', 1)
Isso funcionou muito bem. Obrigado!
# Notice single = vs ==
WHERE (archived = 1)
scope :is_archived, where('archived != ?', 1)
scope :not_archived, where('archived = ?', 1)