Permalink
Browse files

copy editing

"updated the ajax_on_rails.textile for rails3"
  • Loading branch information...
mhutchin authored and Karunakar committed Oct 8, 2011
1 parent b2deeab commit 62c03816e8b034ad0265548fe599667af6de5e87
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 62c0381

Please sign in to comment.