Lee Smith 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.
> 

Seems reasonable.  I've used composite_primary_keys and it works very 
well.  I don't think you need to add the id in this case.

> At least I know this could work with a gem though.  Thanks again.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.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