diff --git a/lib/acts_as_paranoid_aliases.rb b/lib/acts_as_paranoid_aliases.rb index 1d7dbf6d9..e8abab530 100644 --- a/lib/acts_as_paranoid_aliases.rb +++ b/lib/acts_as_paranoid_aliases.rb @@ -34,6 +34,10 @@ module ActsAsParanoidAliases where("confirmed_hide_at IS NOT NULL") end + def without_confirmed_hide + where("confirmed_hide_at IS NULL") + end + def with_hidden with_deleted end