I seem to be writing quite a few methods with the following pattern and it seems like there should be a better way. Is there a one-liner for this or a better practice?
def combine_roster(roster)
rstr = []
roster.each do |r|
rstr << r.user
end
rstr
end