lib/acts_as_changesetable/acts/changeset.rb
# Returns a list of changes associated with changeset_id
# for all classes set in the changeable_histories option
Returns a list of changes associated with changeset_id
for all classes set in the changeable_histories option
Returns a list of changes associated with changeset_id for all classes set in the changeable_histories option
def changes
      @list = {}
      self.changeables_list.each do |name|
        @list[name] = name.to_s.constantize.find_all_by_changeset_id(self.id)
      end
      @list
    end
def changes @list = { } self . changeables_list . each do | name | @list [ name ] = name . to_s . constantize . find_all_by_changeset_id ( self . id ) end @list end
Returns a list of changes associated with changeset_id
for all classes set in the changeable_histories option
Returns a list of changes associated with changeset_id for all classes set in the changeable_histories option