That pretty much says it all:
The joined models are all completely standard
The join model only has this:
acts_as_double_polymorphic_join(
:media =>[:photos, :videos],
:containers => [:partners, :users],
:skip_duplicates => true
)
The users controller only has:
active_scaffold :users
The error raised when I view the scaffold is:
Mysql::Error: Unknown column 'container_type' in 'on clause': SELECT
count(DISTINCT `partners`.id) AS count_all FROM `partners` LEFT OUTER
JOIN `campaigns` ON campaigns.partner_id = partners.id AND
container_type = 'Partner'
As you probably gather, partner has many campaigns. I've tried
disabling that with no joy.
I've tried excluding the various columns and also tried explicitly
including the join table, but nothing has worked. Any suggestions?
It's rails 2.2.2 and 1.2RC1 of active_scaffold.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---