def original_number
      if reverted_from.nil?
        number
      else
        version = versioned.versions.at(reverted_from)
        version.nil? ? 1 : version.original_number
      end
    end
def original_number
      if reverted_from.nil?
        number
      else
        version = versioned.versions.at(reverted_from)
        version.nil? ? 1 : version.original_number
      end
    end
Returns the original version number that this version was.