Hi, I''m working on a project to register people for events, and was
looking for a little help on it.
I''ve got this class "Events". Basically, there are going to
be several
big events throughout time, and those events should not belong to
anybody/anything. But then, we''ve got sub events. For example, someone
could go to Event "HorseShow" and then go to Event
"RidingClass", part
of the horse show. What should I do to make that RidingClass belong to
another event, but not the HorseShow.
Also, Person is going to be attending HorseShow, and also RidingClass,
so I''ll have to deal with that.. probably has many through. But
has_many :events, :through => :events probably doesn''t work.
Thanks in advance for your posts!
-Ryan
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---