you could model users polymorphic, such that users are either
operators or contacts.
then you would be able to say that a town belongs to a operator and
has many contacts.

http://cheat.errtheblog.com/s/belongs_to/
http://cheat.errtheblog.com/s/has_many/

hope this helps
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to