Thanks Frederick, I forgot about that option.

On Tue, Mar 2, 2010 at 3:00 AM, Frederick Cheung
<[email protected]> wrote:
>
>
> On Mar 2, 5:47 am, Frank Kim <[email protected]> wrote:
>
>> However when I do this:
>>
>> team.bench_players << player
>>
>> It saves it in the wrong table, i.e. the team_players table.  What am
>> I doing wrong?
>
> You need to tell activerecord to use a different join table (with
> the :join_table) option
>
> Fred
>>
>> Thanks,
>> Frank
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>



-- 
Frank Kim
http://betweengo.com/

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to