class Building < ActiveRecord::Base
  translates :name
  has_one :address, :as => :addressable
end
class Building < ActiveRecord::Base
  translates :name
  has_one :address, :as => :addressable, dependent: :destroy
end
Add destroy when change address
Add destroy when change address
