diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-15 00:32:52 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-15 00:32:52 +0530 |
commit | 49476eee781b8a8b936b425b20ee40d036053128 (patch) | |
tree | a246be4492eb48c2433a1f8825199b72eff172f2 /railties/guides/source/active_record_validations_callbacks.textile | |
parent | 823e16f57cb64c8557aa8e06b07e361d625a6e2e (diff) | |
parent | 9980f46ca2d250d1d3e2fac84c5dc9ca6cbab1ea (diff) | |
download | rails-49476eee781b8a8b936b425b20ee40d036053128.tar.gz rails-49476eee781b8a8b936b425b20ee40d036053128.tar.bz2 rails-49476eee781b8a8b936b425b20ee40d036053128.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/active_record_validations_callbacks.textile')
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index aba3224ba7..20f5e52891 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -1267,14 +1267,3 @@ end </ruby> The +after_commit+ and +after_rollback+ callbacks are guaranteed to be called for all models created, updated, or destroyed within a transaction block. If any exceptions are raised within one of these callbacks, they will be ignored so that they don't interfere with the other callbacks. As such, if your callback code could raise an exception, you'll need to rescue it and handle it appropriately within the callback. - -h3. Changelog - -* February 17, 2011: Add description of transaction callbacks. -* July 20, 2010: Fixed typos and rephrased some paragraphs for clarity. "Jaime Iniesta":http://jaimeiniesta.com -* May 24, 2010: Fixed document to validate XHTML 1.0 Strict. "Jaime Iniesta":http://jaimeiniesta.com -* May 15, 2010: Validation Errors section updated by "Emili Parreño":http://www.eparreno.com -* March 7, 2009: Callbacks revision by Trevor Turk -* February 10, 2009: Observers revision by Trevor Turk -* February 5, 2009: Initial revision by Trevor Turk -* January 9, 2009: Initial version by "Cássio Marques":credits.html#cmarques |