DavyJonesLocker / client_side_validations

Client Side Validations made easy for Ruby on Rails
MIT License
2.69k stars 405 forks source link

Add compatibility to Rails edge #831

Closed tagliala closed 3 years ago

tagliala commented 3 years ago

Steps to reproduce*

Expected behavior*

Works

Actual behavior*

Doesn't work

/home/travis/build/DavyJonesLocker/client_side_validations/lib/client_side_validations/active_model/numericality.rb:9:in `included': uninitialized constant ActiveModel::Validations::NumericalityValidator::CHECKS (NameError)

Ref: rails/rails@9a08a2f09cea1338f5e84ea4f5ee7a9ad17d5f44

System configuration*

Rails version: edge

Ruby version: 3.0.1

Client Side Validations version: main

Code snippet from your model of the validations*

The whole form code from your template*

The resulting HTML*

Browser's development console output*

Additional JavaScript Libraries*

If your issue depends on other JavaScript libraries, please list them here. E.g: Bootstrap Modal v3.3.7, jQuery UI Datepicker 1.12.4.

Repository demostrating the issue

Debugging CSV issues is a time consuming task. If you want to speed up things, please provide a link to a repository showing the issue.


* Failure to include this requirement may result in the issue being closed.