Update error message for validate method

- Improve the error message by suggesting that the user may have
  intended to call validates instead of validate method.
Merge pull request #16851 from prathamesh-sonpatki/mention-validate-in-upgrade-guide

Update error message of Active Model's validate method
Move the array to a constant