I am working on test cases of Rails 3. When writing a case, I received a delay error, for example
DEPRECATION WARNING: Errors
Also note that the behaviour of Errors
For this, I used errors [: field] instead of errors.on (: field) Now the obsolescence error has disappeared, but things do not work, as it worked before. It does not test validation for the model.
Sol
source
share