>         home_squad = home.squad.to_a.map { |e| e.first }

Which is the e's class?