I’ve been working in an ActiveModel implementation . I don’t expect that what i’m doing is going to be committed to Rails, i’m just hoping it helps, in any possible way, to finally get it done.
At the moment 9 of 10 validations are working, all except uniqueness since is the most AR dependent by implementation. I took out the tests of ActiveRecord, including i18n tests, of each validation and all tests are passing right now in ActiveModel.
Of course this is still experimental, but in AR there are 102 tests, 109 assertions in validations and 126 tests, 732 assertions in i18n validations. My ActiveModel implementation is running and passing 117 tests with 602 assertions of those tests.
If anyone interested in what i’m doing please let me know.