aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/game.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/game.rb')
-rw-r--r--activerecord/test/models/game.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/models/game.rb b/activerecord/test/models/game.rb
new file mode 100644
index 0000000000..0c33075b12
--- /dev/null
+++ b/activerecord/test/models/game.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class Game < ActiveRecord::Base
+ has_one :game_board
+ belongs_to :game_owner
+ belongs_to :game_collection
+end