diff options
author | David Celis <david@davidcelis.com> | 2012-08-23 07:44:43 -0700 |
---|---|---|
committer | David Celis <david@davidcelis.com> | 2012-08-23 07:44:43 -0700 |
commit | 230d7f760030c3400b682e4d8ffa1292ac1a9682 (patch) | |
tree | ef03347d8ebca3ecdd841c953e305819279027c3 /activerecord/test/cases/relation_scoping_test.rb | |
parent | 891043d5d0d097fc51c3fccdfa563c3ba52b7f55 (diff) | |
download | rails-230d7f760030c3400b682e4d8ffa1292ac1a9682.tar.gz rails-230d7f760030c3400b682e4d8ffa1292ac1a9682.tar.bz2 rails-230d7f760030c3400b682e4d8ffa1292ac1a9682.zip |
Update the documentation for the :autosave option
I've noticed a caveat with the :autosave option biting people before.
Questions arise about why they must explicitly save an associated object
in their own before_save callbacks. I've updated the documentation as
such to note to users that the :autosave callback occurs before any
user defined callbacks. They must save the associated record themselves
if altering it in their own callbacks.
Signed-off-by: David Celis <david@davidcelis.com>
Diffstat (limited to 'activerecord/test/cases/relation_scoping_test.rb')
0 files changed, 0 insertions, 0 deletions