Long subject lines aside :-), I have a contacts model and an
invitations model. Contacts are assigned to invitations via the
invitation_assignments backend model, similar to the task and
task_assignments models in the Agility tutorial:

from invitation.rb:

     has_many :invitation_assignments, :dependent => :destroy
     has_many :contacts, :through
=> :invitation_assignments, :accessible => true

This is great and all works well, I can add multiple contacts to each
invitation via nifty javascript goodness. What I notice is that
contacts already added to the current invitation are greyed out and no
longer selectable for that invitation, but for each new invitation the
entire list of contacts is available again.

For my purposes, I need the list of contacts that can be added to each
invitation to not include any contacts that already belong to any
other invitation, or alternatively to have those contacts already
belonging to ANY invitation (not just the current invitation) to be
greyed out and not selectable.

Is this something that can be simply done in Hobo?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to