aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
diff options
context:
space:
mode:
authorJustin Weiss <justin@uberweiss.org>2014-08-05 13:13:40 -0700
committerJustin Weiss <justin@uberweiss.org>2014-08-05 13:13:40 -0700
commit2bb0abbec0e4abe843131f188129a1189b1bf714 (patch)
tree936e517733580f5b2839d88680eaa701b2519d6d /activerecord/lib/active_record.rb
parentb89c5a043e81298527f369fdb5fc83eb1f290dfe (diff)
downloadrails-2bb0abbec0e4abe843131f188129a1189b1bf714.tar.gz
rails-2bb0abbec0e4abe843131f188129a1189b1bf714.tar.bz2
rails-2bb0abbec0e4abe843131f188129a1189b1bf714.zip
Add a note on custom validation contexts.
The documentation on `:on` for validations was inconsistent, and most only referenced the `:create` and `:update` contexts. I fixed those to be consistent with the documentation on `AM::Validations.validates`, which seemed to have the best docs. [ci skip]
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions