lib/authlogic/session/callbacks.rb in authlogic-2.1.1 vs lib/authlogic/session/callbacks.rb in authlogic-2.1.2
- old
+ new
@@ -53,10 +53,11 @@
# You can NOT define a "before_validation" method, this is bad practice and does not allow Authlogic
# to extend properly with multiple extensions. Please ONLY use the method above.
module Callbacks
METHODS = [
"before_persisting", "persist", "after_persisting",
- "before_validation", "before_validation_on_create", "before_validation_on_update", "validate", "after_validation_on_update", "after_validation_on_create", "after_validation",
+ "before_validation", "before_validation_on_create", "before_validation_on_update", "validate",
+ "after_validation_on_update", "after_validation_on_create", "after_validation",
"before_save", "before_create", "before_update", "after_update", "after_create", "after_save",
"before_destroy", "after_destroy"
]
def self.included(base) #:nodoc:
\ No newline at end of file