diff options
author | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-08-26 09:55:26 +0200 |
---|---|---|
committer | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-08-26 09:55:26 +0200 |
commit | fa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525 (patch) | |
tree | 91bb8e0324fb6485b8a93bd256eca00aec1eb522 /railties/guides | |
parent | 5e73ab0936b492aec24f41be269e0ae481287df0 (diff) | |
download | rails-fa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525.tar.gz rails-fa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525.tar.bz2 rails-fa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525.zip |
lifecycle should be two words, life cycle
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/association_basics.textile | 4 |
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+ |