Sha256: a8cf360e17f540b368830d45ccea343b551598c272780256d2bfffbc772d2ad1
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true class DrinkDesigner < ActiveRecord::Base has_one :chef, as: :employable end class DrinkDesignerWithPolymorphicDependentNullifyChef < ActiveRecord::Base self.table_name = "drink_designers" has_one :chef, as: :employable, dependent: :nullify end class DrinkDesignerWithPolymorphicTouchChef < ActiveRecord::Base self.table_name = "drink_designers" has_one :chef, as: :employable, touch: true end class MocktailDesigner < DrinkDesigner end
Version data entries
4 entries across 4 versions & 1 rubygems