aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-25 09:10:35 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-25 16:36:27 -0200
commit6a85c45b1cced856da3377fe1eb50b1f8436cb9e (patch)
tree87f0a1ce5f55d97d22549f5fd6c640e24be8733d /railties/guides/rails_guides.rb
parent42159354b4ee6145fe3fa9e169af48380c6134e0 (diff)
downloadrails-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 'railties/guides/rails_guides.rb')
0 files changed, 0 insertions, 0 deletions