Going on from the user -> member -> team, model I’ve been working on,
one thing I’d like to have in my Team class is the ability to return how
many users are members of a team.
<%= Self.Current_User.Member.Member_Count %>
Maybe I could do this by putting in a function in the helper or model of
@members = Member.Find(:all, :condition => [’ team_id = ?’, team_id])
Would this work?