named scope works but association not
===

Made a named scope: 

class Activity
scope :active, where("active = ?", true)

has_many :attachments, :as => :attachable	
accepts_nested_attributes_for :attachments
end

a = Activity.active work fine but the association a.attachments not (NoMethodError: undefined method `attachments')

Ciao..remco  