On Apr 22, 3:07 pm, Lee Smith <[email protected]> wrote: > Thanks for the help guys. > > pepe, this is not a legacy table so I think I'm just going to add the > id and not fight conventions. The table is really just a link > table...linking a user to an article and calling it a favorite. > Nothing more...and that's why I went with the composite key. >
> At least I know this could work with a gem though. Thanks again. or if it is just destroying that's a problem you could just add a method that runs delete from favourites where user_id = x AND article_id = y Fred > > -- > 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 > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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.

