lib/acts_as_changesetable/base.rb
# Sets a class to be a changeable_history. See README for details
Sets a class to be a changeable_history. See README for details
Sets a class to be a changeable_history . See README for details
def acts_as_changeable_history(*args, &block)
      self.send :include, Common
      args = [{:same_as_changeable => true}] if args.size == 0 and !block_given?
      changeable_common_setup(args, block)
      self.send :include, ChangeableHistory
    end
def acts_as_changeable_history ( * args , & block ) self . send :include , Common args = [ { :same_as_changeable => true } ] if args . size == 0 and ! block_given? changeable_common_setup ( args , block ) self . send :include , ChangeableHistory end
Sets a class to be a changeable_history.
Sets a class to be a changeable_history .
args
<not_specific>
block
<not_specific>