diff options
Diffstat (limited to 'activerecord/test/models/guitar.rb')
-rw-r--r-- | activerecord/test/models/guitar.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/guitar.rb b/activerecord/test/models/guitar.rb new file mode 100644 index 0000000000..cd068ff53d --- /dev/null +++ b/activerecord/test/models/guitar.rb @@ -0,0 +1,4 @@ +class Guitar < ActiveRecord::Base + has_many :tuning_pegs, index_errors: true + accepts_nested_attributes_for :tuning_pegs +end |