rails-fields gem provides robust field type enforcement for ActiveRecord models in Ruby on Rails applications. It includes utility methods for type validation, logging, and field mappings between GraphQL and ActiveRecord types Custom error classes provide clear diagnostics for field-related issues, making it easier to maintain consistent data models.

Required Ruby Version

>= 2.7

Authors

Gaston Morixe

Versions

  1. 0.3.3 August 21, 2025 (10.5 KB)
  2. 0.3.2 August 28, 2023 (9.5 KB)
  3. 0.3.1 August 28, 2023 (9.5 KB)
  4. 0.3.0 August 28, 2023 (9.5 KB)
  5. 0.2.0 August 27, 2023 (9.5 KB)
Show all versions (6 total)

Pushed by

SHA 256 checksum