Hello Colin

Thanks for your response.

A user can only belong to one team. Admins will never belong to a team.

So, if I understand you correctly:

Team
has_many :users

User
belongs_to :team
attr :admin (bool)

I am concerned that an admin will have no team but the model 
"belongs_to" a team. It just doesn't feel right. It will require many 
"if" statements (in controllers?) which I understand (but could be 
wrong) isn't very mvc/oo.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to