
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
end
end
The enhance statement only enhances UserArticleTaggings but not BotArticleTaggings
Comments and changes to this ticket
-
-
Aaron Qian September 13th, 2008 @ 07:19 PM
- Title changed from ad-is-remixable: remixing same remixable twice with different class_names, but can only enhance the first generated class to dm-is-remixable: remixing same remixable twice with different class_names, but can only enhance the first generated class
-
Jonathan Stott (namelessjon) December 11th, 2008 @ 10:02 AM
- Assigned user cleared.
- State changed from new to resolved
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.
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
- Nobody is watching this ticket.