2 Commits

Author SHA1 Message Date
Kabiru Mwenja fd9a5bea77 Merge pull request #23197 from opf/refactor/extract-semantic-project-identifier-format
Extract semantic project identifier regex into a composed constant
2026-05-13 17:49:56 +03:00
Kabiru Mwenja 47fe076905 Move validator into Projects namespace
- Validator moves to app/validators/projects/identifier_validator.rb
  as Projects::IdentifierValidator. The path-style symbol on the
  validates declaration ('projects/identifier') resolves to it.
  Distinguishes domain-specific validators from globally reusable
  ones (UrlValidator, JsonValidator, etc).

- Spec moves to spec/validators/projects/identifier_validator_spec.rb.

- Trim comments that explained framework conventions (validator
  lookup, declaration order). Keep comments only where the WHY is
  non-obvious to a Rails-fluent reader.
2026-04-29 11:30:50 +03:00