diff options
author | mhutchin <mike@mhutchinson.com> | 2011-10-08 03:59:13 -0700 |
---|---|---|
committer | Karunakar (Ruby) <revurikarna@gmail.com> | 2011-10-09 00:17:21 +0530 |
commit | 62c03816e8b034ad0265548fe599667af6de5e87 (patch) | |
tree | f84f46e5bd96526ab16ba695549280c9584a49c6 | |
parent | b2deeabffb542bb1683571db4f1a69a3426f838f (diff) | |
download | rails-62c03816e8b034ad0265548fe599667af6de5e87.tar.gz rails-62c03816e8b034ad0265548fe599667af6de5e87.tar.bz2 rails-62c03816e8b034ad0265548fe599667af6de5e87.zip |
copy editing
"updated the ajax_on_rails.textile for rails3"
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 2f78f1d0c8..665e7f9ccc 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -1162,7 +1162,7 @@ class PictureFile < ActiveRecord::Base end </ruby> -Note that we needed to instantiate a new +PictureFileCallbacks+ object, since we declared our callback as an instance method. This is particularly useful if the callbacks make use of the state of instantiated object. Often, however, it will make more sense to declare the callbacks as class methods: +Note that we needed to instantiate a new +PictureFileCallbacks+ object, since we declared our callback as an instance method. This is particularly useful if the callbacks make use of the state of the instantiated object. Often, however, it will make more sense to declare the callbacks as class methods: <ruby> class PictureFileCallbacks |