Dry::Data::Rails

Really simple gem that will help you work with the dry-data gem in development.

Raison d'ĂȘtre

Rails reloads code quite often in development, this broke the usage of Dry::Data since it would register the same types multiple times and raise exceptions.

Installation

Add this line to your application's Gemfile:

gem 'dry-data-rails'

Usage

Nothing to do, this is using Rails::Railtie, which means it gets loaded automatically.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jeromegn/dry-data-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.