def has_ipaper_and_uses(str, opts = {:on => :save })
      check_environment
      load_base_plugin(str)

      include InstanceMethods

      attr_accessor :ipaper_my_user_id

      send("after_#{opts[:on]}", :upload_to_scribd) # This *MUST* be an after_save
      before_destroy :destroy_ipaper_document
    end
def has_ipaper_and_uses(str, opts = {:on => :save })
      check_environment
      load_base_plugin(str)

      include InstanceMethods

      attr_accessor :ipaper_my_user_id

      send("after_#{opts[:on]}", :upload_to_scribd) # This *MUST* be an after_save
      before_destroy :destroy_ipaper_document
    end
Load and inject ScribdFu goodies
 opts can be :on => :create, defaults to :on => :save