diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-25 09:10:35 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-25 16:36:27 -0200 |
commit | 6a85c45b1cced856da3377fe1eb50b1f8436cb9e (patch) | |
tree | 87f0a1ce5f55d97d22549f5fd6c640e24be8733d /activemodel/test | |
parent | 42159354b4ee6145fe3fa9e169af48380c6134e0 (diff) | |
download | rails-6a85c45b1cced856da3377fe1eb50b1f8436cb9e.tar.gz rails-6a85c45b1cced856da3377fe1eb50b1f8436cb9e.tar.bz2 rails-6a85c45b1cced856da3377fe1eb50b1f8436cb9e.zip |
Fix custom validation methods section in AR validations and callbacks guide
The methods validate_on_create and validate_on_update are not available
anymore in Rails, this removes them from the guide and adds an example
on how to use validate with the :on option.
Diffstat (limited to 'activemodel/test')
0 files changed, 0 insertions, 0 deletions