I'm not sure the best way to do this.  It doesn't appear as though the 
Polymorphic association is being detected by Active Scaffold?  When I add 
the model association to ActiveScaffold it gives a Template::Error (Could 
not find ImagesController or ImageController) 

For Example:

class Image < ActiveRecord::Base
  belongs_to :imageable, :polymorphic => true
  has_attached_file :image
end

class User < ActiveRecord::Base
  has_many :images, :as => :imageable
end

I don't know if the best way would be to set these up as some type of nested 
or embedded scaffold instead?
I'm not sure what step I might be missing here, but any help would be 
appreciated.
Thanks!
Mike

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/SC5RMvgj28cJ.
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.

Reply via email to