rails/activerecord/test/models/matey.rb
2017-07-19 22:27:07 +03:00

7 lines
132 B
Ruby

# frozen_string_literal: true
class Matey < ActiveRecord::Base
belongs_to :pirate
belongs_to :target, class_name: "Pirate"
end