Rails Fields
Enforce field types and attributes for ActiveRecord models in Ruby on Rails applications.
- 🚀 Automatic ActiveRecord Migrations generation
- 🦄 Automatic GraphQL types generation
- 📝 Explicit declarative model attributes annotation
- 💪 Enforcement of fields declaration with real db columns
- 📜 Automatic YARD model documentation
The 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.