Fix the typo and Fix the validates_presence_of to validates #10739

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

rajcybage commented May 23, 2013

No description provided.

@@ -18,6 +18,15 @@ module ActiveRecord
# * (5) <tt>after_create</tt>
# * (6) <tt>after_save</tt>
# * (7) <tt>after_commit</tt>
+ # * (8) <tt>before_destroy</tt>
@al2o3cr

al2o3cr May 23, 2013

Contributor

This part of the list does not belong here: the preceding text states, "As an example of the callbacks initiated, consider the Base#save call for a new record:". before_destroy is certainly not called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment