enum status: [ :in_progress, :on_hold, :cancelled, :shipped ]
I need to split :shipped based on before or after one year from the current date.
enum status: [ :in_progress, :on_hold, :cancelled, :shipped, :archive_shipped ]
how to I write out the scope for the condition? Or should it be written as a self.phase method?