zod_rails
Generate Zod schemas from ActiveRecord models. Maps Rails validations (presence, length, numericality, format) to Zod constraints, enums to z.enum(), and handles nullable/optional fields correctly. Outputs TypeScript with both response schemas and form input schemas. Keep your frontend validation in sync with your Rails backend.