diff options
author | Bryan Woods <bryanwoods4e@gmail.com> | 2010-06-16 15:50:32 -0400 |
---|---|---|
committer | Bryan Woods <bryanwoods4e@gmail.com> | 2010-06-16 15:50:32 -0400 |
commit | c1ff781001af157c0d5ea5ac64e1fa17d47fe1f1 (patch) | |
tree | 8bd7ca568dc85ea97be5d1470198362aba30150e /railties/guides/source/active_record_basics.textile | |
parent | 74b4d3f5219c401be755c61c83e57e4f0ff550e4 (diff) | |
download | rails-c1ff781001af157c0d5ea5ac64e1fa17d47fe1f1.tar.gz rails-c1ff781001af157c0d5ea5ac64e1fa17d47fe1f1.tar.bz2 rails-c1ff781001af157c0d5ea5ac64e1fa17d47fe1f1.zip |
Guides: renaming to active_record_validations_callbacks for consistency and updating links to reflect new path
Diffstat (limited to 'railties/guides/source/active_record_basics.textile')
-rw-r--r-- | railties/guides/source/active_record_basics.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_record_basics.textile b/railties/guides/source/active_record_basics.textile index e32898129f..e6ef2cdd20 100644 --- a/railties/guides/source/active_record_basics.textile +++ b/railties/guides/source/active_record_basics.textile @@ -207,11 +207,11 @@ Likewise, once retrieved an Active Record object can be destroyed which removes h3. Validations -Active Record allows you to validate the state of a model before it gets written into the database. There are several methods that you can use to check your models and validate that an attribute value is not empty, is unique and not already in the database, follows a specific format and many more. You can learn more about validations in the "Active Record Validations and Callbacks guide":activerecord_validations_callbacks.html#validations-overview. +Active Record allows you to validate the state of a model before it gets written into the database. There are several methods that you can use to check your models and validate that an attribute value is not empty, is unique and not already in the database, follows a specific format and many more. You can learn more about validations in the "Active Record Validations and Callbacks guide":active_record_validations_callbacks.html#validations-overview. h3. Callbacks -Active Record callbacks allow you to attach code to certain events in the life-cycle of your models. This enables you to add behavior to your models by transparently executing code when those events occur, like when you create a new record, update it, destroy it and so on. You can learn more about callbacks in the "Active Record Validations and Callbacks guide":activerecord_validations_callbacks.html#callbacks-overview. +Active Record callbacks allow you to attach code to certain events in the life-cycle of your models. This enables you to add behavior to your models by transparently executing code when those events occur, like when you create a new record, update it, destroy it and so on. You can learn more about callbacks in the "Active Record Validations and Callbacks guide":active_record_validations_callbacks.html#callbacks-overview. h3. Migrations |