mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0379da6abc
record.id_was is nil in after_create/after_save, so we should use id in these cases. While this logic feels incomplete, the existing update_record uses the same logic: |
||
---|---|---|
.. | ||
absence.rb | ||
associated.rb | ||
length.rb | ||
presence.rb | ||
uniqueness.rb |