acts_as_double_polymorphic_join

Hi there again,

I posted something similar before and didn't get any answer, probably because I failed to put together a coherent question. I'll try to make it simple this time.

Having an association like this one:

class Attachment < ActiveRecord::Base   belongs_to :attachable, :polymorphic => true   belongs_to :attacher, :polymorphic => true

  acts_as_double_polymorphic_join :attachables => [:photos, :videos],                                   :attachers => [:typologies, :areas] end

I need to render a select list that contains all the possible attacher types and looks like this:

<select name="attacher[id]">   <option value="Typology">Typologies</option>   <option value="Area">Areas</option> </select>

Is it possible? If so, how's the neatest way to do it?

Thanks again.

bump