lib/acts_as_changesetable/acts/changeable_history.rb
# Finds all matching histories for a given set of changesets
Finds all matching histories for a given set of changesets
Finds all matching histories for a given set of changesets
def find_by_changesets(list_of_changesets)
        list = []
        list_of_changesets ||= []
        list_of_changesets.each {|c| list = list + self.find_all_by_changeset_id(c)}
        list.flatten
      end
def find_by_changesets ( list_of_changesets ) list = [ ] list_of_changesets ||= [ ] list_of_changesets . each { | c | list = list + self . find_all_by_changeset_id ( c ) } list . flatten end
Finds all matching histories for a given set of changesets
Finds all matching histories for a given set of changesets
list_of_changesets
<not_specific>