lib/acts_as_changesetable/base.rb
# Sets a class to be a changeset. See README for details
Sets a class to be a changeset. See README for details
Sets a class to be a changeset . See README for details
def acts_as_changeset(*args, &block)
      cattr_accessor :changeable_histories
      self.send :include, ChangeableChangeset
      opts = args.extract_options!
      self.changeable_histories = opts[:changeable_histories]
    end
def acts_as_changeset ( * args , & block ) cattr_accessor :changeable_histories self . send :include , ChangeableChangeset opts = args . extract_options! self . changeable_histories = opts [ :changeable_histories ] end
Sets a class to be a changeset.
Sets a class to be a changeset .
args
<not_specific>
block
<not_specific>