Content
View differences
Updated by Jens Ulferts almost 6 years ago
The upcoming 3.0 release of release indicates that `Reform::Contract` will be removed from the gem. This is the base class of all the contracts we have. We thus need to replace the gem.
We should be able to rely on `ActiveModel::Validations` instead ([https://api.rubyonrails.org/classes/ActiveModel/Validations.html](https://api.rubyonrails.org/classes/ActiveModel/Validations.html)) and include the module into our base class. It might simplify the code while we are at it.
We should be able to rely on `ActiveModel::Validations` instead ([https://api.rubyonrails.org/classes/ActiveModel/Validations.html](https://api.rubyonrails.org/classes/ActiveModel/Validations.html)) and include the module into our base class. It might simplify the code while we are at it.