1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/drink_designer.rb
Ryuta Kamizono 2b6cd16637 Place MocktailDesigner in test/models/drink_designer.rb
Since `MocktailDesigner` inherits `DrinkDesigner` and can not be used
alone.
2017-10-23 03:03:47 +09:00

8 lines
153 B
Ruby

# frozen_string_literal: true
class DrinkDesigner < ActiveRecord::Base
has_one :chef, as: :employable
end
class MocktailDesigner < DrinkDesigner
end