aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-08-26 09:55:26 +0200
committerXavier Noria <fxn@hashref.com>2010-08-26 14:23:58 +0200
commit5430f5bd06ba71a11479bc83eda38e0d7302ecea (patch)
tree1108e2cd8c5c1eaa172c00497bc8e6f8a65ce4e0 /railties/guides/source
parentd9f6e1693751b619cd2dffe4ca202bd5f493c90c (diff)
downloadrails-5430f5bd06ba71a11479bc83eda38e0d7302ecea.tar.gz
rails-5430f5bd06ba71a11479bc83eda38e0d7302ecea.tar.bz2
rails-5430f5bd06ba71a11479bc83eda38e0d7302ecea.zip
lifecycle should be two words, life cycle
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/association_basics.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile
index 079bb4b6b2..b3735c270e 100644
--- a/railties/guides/source/association_basics.textile
+++ b/railties/guides/source/association_basics.textile
@@ -1760,9 +1760,9 @@ If you want to assign an object to a +has_and_belongs_to_many+ association witho
h4. Association Callbacks
-Normal callbacks hook into the lifecycle of Active Record objects, allowing you to work with those objects at various points. For example, you can use a +:before_save+ callback to cause something to happen just before an object is saved.
+Normal callbacks hook into the life cycle of Active Record objects, allowing you to work with those objects at various points. For example, you can use a +:before_save+ callback to cause something to happen just before an object is saved.
-Association callbacks are similar to normal callbacks, but they are triggered by events in the lifecycle of a collection. There are four available association callbacks:
+Association callbacks are similar to normal callbacks, but they are triggered by events in the life cycle of a collection. There are four available association callbacks:
* +before_add+
* +after_add+