Dry Generator Rails brings dry-rb to Rails in a consistent manner.
This is a work in progress by a squishy human that makes mistakes and will eventually die.
- dry:validation
- dry:struct
- dry:monad
rails g dry:validation User
Add this line to your application's Gemfile:
gem 'dry_generators_rails'And then execute:
$ bundleOr install it yourself as:
$ gem install dry_generators_railsI would love any help you want to put towards this.
Bug reports and feature requests are also a form of help.
The gem is available as open source under the terms of the MIT License.