def status_active_verb(status, instance)
      status = status.to_s.strip

      if status.end_with?('ied')
        action = status[0...-3] + 'y'
        return action.to_sym if instance.respond_to?(action + '!')
      end

      # ed, e, ing
      [-1, -2, -3].each do |index|
        action = status[0...index]
        return action.to_sym if instance.respond_to?(action + '!')
      end

      nil
    end
def status_active_verb(status, instance)
      status = status.to_s.strip

      if status.end_with?('ied')
        action = status[0...-3] + 'y'
        return action.to_sym if instance.respond_to?(action + '!')
      end

      # ed, e, ing
      [-1, -2, -3].each do |index|
        action = status[0...index]
        return action.to_sym if instance.respond_to?(action + '!')
      end

      nil
    end
requested -> request, approved -> approve, declined -> decline, pending -> pending