mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2b6cd16637
Since `MocktailDesigner` inherits `DrinkDesigner` and can not be used alone.
8 lines
153 B
Ruby
8 lines
153 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DrinkDesigner < ActiveRecord::Base
|
|
has_one :chef, as: :employable
|
|
end
|
|
|
|
class MocktailDesigner < DrinkDesigner
|
|
end
|