Hi,

I'm working on solving this problem, but thought I'd ask if anyone has
it figured out already. I'd like to use associable and acts_as_list
together... here's a simple example for to specify the order of tags
(not that you'd want to, but it keeps the example simple):

class Tag(Entity):
    name = Field(Unicode)
    acts_as_list()

acts_as_taggable = associable(Tag)

class Something(Entity):
    name = Field(Unicode)
    acts_as_taggable('tags')


I know the acts_as_list needs a qualifier function passed in, but I
don't see any obvious way to write that function based on the examples
or looking at the stuff that associable tacks on. Do we need something
like an "associable_list" extension that combines the two?

Or maybe going back to Jonathan's original Statement example (before
associable was written) and adding the acts_as_list functionality to
that would be easier... hmm.

TIA.
--Isaac


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to