lib/scribd_fu.rb in mdarby-scribd_fu-1.2.3.1 vs lib/scribd_fu.rb in mdarby-scribd_fu-1.2.3.2

- old
+ new

@@ -99,10 +99,10 @@ # deletion of associated Scribd documents, and an after_save hook to upload # to scribd. def self.extended(base) base.class_inheritable_accessor :scribd_options - base.before_destroy :destroy_scribd_documents - base.after_save :upload_to_scribd + base.before_destroy :destroy_scribd_documents + base.before_validation :upload_to_scribd end end end