mirror of https://github.com/rails/rails
[RF-DOCS] Active Record Callbacks (#51654)
Review and improve Action View Overview guide. [ci-skip] * Samples that use Proc.new {} can likely be simplified to just use proc {} * Link to the validations guide where we mention it under conditional callbacks * after_find callbacks are also triggered by a few other methods: take, sole, find_by! * We could potentially add some more examples on different types of callbacks that aren't there. * Updated some sections for clarity Co-authored-by: Petrik de Heus <petrik@deheus.net> Co-authored-by: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> Co-authored-by: hatsu <hajiwata0308@gmail.com>
This commit is contained in:
parent
e3ea4c7412
commit
78d655907a