我以这种方式定义了三个类图片、员工和产品
Class Picture < ActiveRecord::Base
belongs_to :imageable, :polymorphic => true
end
class Employee < ActiveRecord::Base
has_many :pictures, :as => :imageable
end
class Product < ActiveRecord::Base
has_many :pictures, :as => :imageable
end
我想将图片的模型名称更改为图像。关于多态关联,我需要更新什么?