I want to create a list from a class' attributes
I'm new with ruby- i have an activerecord class called fixture and what an array of "Home Team", "Draw", "Away team", where home team and away team are both fields in the Fixture table
I have come up with the following code sticking it in the Fixture class- how do access the values of the class?
self.fix_list = [home_team.title, "Draw", away_team.title]