Trying to get to total number of users for a given event and I'm thinking what I've got should work, but I get the following:
Could not find the source association(s) :squads_users in model Squad. Try 'has_many :users, :through => :squads, :source => '. Is it one of :team, :event, :event_division, :users, :point_adjustments, :checkpoint_squads, :division, or :checkpoints?
My ActiveRecord Kung Fu is weak :-/
Event
has_many :squads
has_many :users, :through => :squads
Team
has_many :squads
Squad
belongs_to :event
belongs_to :team
has_and_belongs_to_many :users
SquadsUsers
belongs_to :user
belongs_to :squad
User
has_and_belongs_to_many :squads