aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_basics.textile
diff options
context:
space:
mode:
authorJeff Dutil <jdutil21@gmail.com>2011-08-16 23:35:40 -0400
committerJeff Dutil <jdutil21@gmail.com>2011-08-16 23:35:40 -0400
commit6783ce0de4511e2568765f2e4919758d70690391 (patch)
tree5d738ae02ff2389f97dd5316377030a616a084bd /railties/guides/source/active_record_basics.textile
parent6eadf5d192f208d21f876603a0a1607fa80bb68a (diff)
downloadrails-6783ce0de4511e2568765f2e4919758d70690391.tar.gz
rails-6783ce0de4511e2568765f2e4919758d70690391.tar.bz2
rails-6783ce0de4511e2568765f2e4919758d70690391.zip
Updates to remove extra whitespaces and notably fix a whitespace issue with ajax_on_rails causing a code block not to render the entire block properly.
Diffstat (limited to 'railties/guides/source/active_record_basics.textile')
-rw-r--r--railties/guides/source/active_record_basics.textile1
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_basics.textile b/railties/guides/source/active_record_basics.textile
index 3e46e7df9f..cab8c80866 100644
--- a/railties/guides/source/active_record_basics.textile
+++ b/railties/guides/source/active_record_basics.textile
@@ -204,7 +204,6 @@ Likewise, once retrieved an Active Record object can be destroyed which removes
user.destroy
</ruby>
-
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":active_record_validations_callbacks.html#validations-overview.