On 13 November 2012 17:02, RVince <
rvin...@hotmail.com> wrote:
> Colin, no, events and features have no relationship to each other
> (Eventfeatures are like features, but they are a separate object here). So:
>
> Event has_many : evenfeatures
>
> and
>
> Eventfeature belongs_to: event
So why were you telling us about Features then?
Can you try to ask the question again then? You know that if you have
an event then its eventfeatures are event.eventfeatures and if you
have an eventfeature then its event is eventfeature.event?
Colin
> --
> 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
rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
>
rubyonrails-ta...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/rubyonrails-talk/-/KAv1fwlpQVkJ.
>
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>