aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/squeak.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/squeak.rb')
-rw-r--r--activerecord/test/models/squeak.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/squeak.rb b/activerecord/test/models/squeak.rb
new file mode 100644
index 0000000000..e0a643c238
--- /dev/null
+++ b/activerecord/test/models/squeak.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+class Squeak < ActiveRecord::Base
+ belongs_to :mouse
+ accepts_nested_attributes_for :mouse
+end