AD wrote:
> yes sorry, a topic can belong to many users. For subtopics we had
> went the subtopics_users approach, but now that a new requirement came
> in to support a user having either a topic with no subtopic as well as
> a subtopic directly (impying topic).
If I were to jump in late, and o
yes sorry, a topic can belong to many users. For subtopics we had
went the subtopics_users approach, but now that a new requirement came
in to support a user having either a topic with no subtopic as well as
a subtopic directly (impying topic).
Thanks
On Sat, Jun 27, 2009 at 3:29 PM, Colin Law
2009/6/27 AD :
>
> yea sorry if you have a subtopic, you have a topic since a subtopic
> belongs to a topic. So if I have TopicA, TopicB, and TopicA has
> SubTopicD and SubTopicE, a user can have
>
> TopicB, SubtopicE. Since SubTopicE belongs to TopicA they would also
> have that. The requirem
yea sorry if you have a subtopic, you have a topic since a subtopic
belongs to a topic. So if I have TopicA, TopicB, and TopicA has
SubTopicD and SubTopicE, a user can have
TopicB, SubtopicE. Since SubTopicE belongs to TopicA they would also
have that. The requirement was really that they did
2009/6/27 Andrey Ognevsky :
>
> AD wrote:
>> Hi,
>>
>> So i have users in the system and i have topics. Topics also
>> have_many subtopics. What is the cleanest way to setup the AR
>> relationships if a user can either have_many topics or subtopics ?
>> Its basically a dual select box dropdown,
AD wrote:
> Hi,
>
> So i have users in the system and i have topics. Topics also
> have_many subtopics. What is the cleanest way to setup the AR
> relationships if a user can either have_many topics or subtopics ?
> Its basically a dual select box dropdown, where the second dropdown is
> optio
6 matches
Mail list logo