FieldStruct is a Ruby library for building Plain Old Ruby Objects with declared attributes that have enforced types, presence checks, and per-field validation. Each class collects its declarations into an inspectable Metadata object; types are pluggable via a registry that namespaces can extend or replace. Not a database layer, not a form object, not an ActiveModel replacement. Mirrors the AM interface shape where it helps adoption, but reuses no AM code.

Required Ruby Version

>= 3.0.0

Authors

Adrian Madrid

Versions

  1. 0.15.0
    1. source

      1. 0.15.0 source October 25, 2026 (171 KB)

Pushed by

SHA 256 checksum