#563 ✓resolved
Aaron Qian

dm-is-remixable: remixing same remixable twice with different class_names, but can only enhance the first generated class

Reported by Aaron Qian | September 13th, 2008 @ 07:15 PM

In dm-is-remixable:

We can do this:

class article
  include DataMapper::Resource

  property :id, Serial
  property :content, Text

  remix n, :taggings, :by => "User", :class_name => "UserArticleTaggings"
  remix n, :taggings, :by => "Bot", :class_name => "BotArticleTaggings"

  enhance :taggings do
    belongs_to :tag

The enhance statement only enhances UserArticleTaggings but not BotArticleTaggings

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket