Hello

I've made a polymorphic model, Asset, which can have different asset
associated to it (Images, Videos, etc), accessible via the filable
attribute.

class Asset
  ...
  belongs_to :filable, :polymorphic => true
end

I can render a collection of asset just a i've always been able to,
and inside the asset card i can render both a link to the specific
filable element and the filable type.

So how can i:

1. render the card of the joined asset inside the asset card?
2. substitute the entire content of the asset card with the joined
card?

Hope i've been specific enough in describing my problem. I have tried
to render the card using the <card:filable /> and <card
with="&this.filable" /> inside the card body-tag, but it only renders
an empty div.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to