Finding expiring/expired documents
Looks good except for your use of constants.

Constant variables is probably the biggest oxymoron I have ever heard. The whole point of a constant is that it does not change - the very name variable implies that it is prone to change.  

A proper use of a constants is to hold immutable data where the value is clearly understandable by just reading the code:

# A very contrived example
class Week
  DAYS = [:monday, :tuesday, :wednesday, :thursday, 
          :friday, :saturday, :sunday]
end


The key point here is that if the value is not known at before the class is evaluated it should be treated as an extreme code smell.

Here is  better but long example of how constants should be properly used: ActiveSupport::Timezone on Github.