On 13 January 2015 at 01:20, David Williams wrote:
> Colin Law wrote in post #1166568:
>> On 12 January 2015 at 21:40, David Williams
>> wrote:
>>> Right now,
>>> my Event.rb
>>> has belongs_to :activism_co_user
>>
>> What??
>>
>>> has_one :category
>>>
>>> Activism_co_user.rb
>>> has_many :event
Colin Law wrote in post #1166568:
> If I understand correctly then possibly you will want a join model
> called something like attendance where
> user has_many attendances
> user has_many events through attendances
>
> event has_many attendances
> event has_many users through attendances
>
> attend
Colin Law wrote in post #1166568:
> On 12 January 2015 at 21:40, David Williams
> wrote:
>> Right now,
>> my Event.rb
>> has belongs_to :activism_co_user
>
> What??
>
>> has_one :category
>>
>> Activism_co_user.rb
>> has_many :events
>>
>> The table itself has quite a few properties that describe
3 matches
Mail list logo