At a really quick glance it looks like you have a typo.
:nhl_stat in
has_many :players, :through => :teams, :source => :nhl_stat, :order =>
:player_name
should be
:nhl_stats
This is untested
HTH
Daniel
At a really quick glance it looks like you have a typo.
:nhl_stat in
has_many :players, :through => :teams, :source => :nhl_stat, :order =>
:player_name
should be
:nhl_stats
This is untested
HTH
Daniel
hmmm not sure on this one. Try putting in a classname in there
has_many :players, :through => :teams, :source => :nhl_stats, :class_name => “NhlStat”, :order =>
:player_name