On Aug 6, 2005, at 2:45 PM, Felix Ingram wrote:
> If my model has (and belongs to) many other models then what''s the
> best way to add them when creating or editing a record?
Check out the new RoR movie. Think of blog comments as CD artists.
You could get fancy and do some Backpackit.com-like drag-and-drop
Ajax stuff. You''d also probably want to optionally specify a primary
artist. For example, the nearly every track on the new Thievery
Incorporated album is a collaboration, but it''s still a Thievery
Incorporated album.
A CD has_and_belongs_to_many artists, and vice versa.
Regards,
Ed
--
Transmogrify, LLC * <http://xmog.com/>