aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/guitar.rb
blob: 649b99866532c8ac699f9976b877333fec299698 (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true

class Guitar < ActiveRecord::Base
  has_many :tuning_pegs, index_errors: true
  accepts_nested_attributes_for :tuning_pegs
end