Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We used to store regular expressions as strings in the validations.rb which causes them to be compiled every time the validation is run. With this commit we are changing them to be stored as Regexp objects which are compiled only once at the load time.
- Loading branch information