summaryrefslogtreecommitdiff
path: root/app/models/game.rb
blob: c5cb32a323ee610f9e082439fa7ee17afe204cb7 (plain)
1
2
3
4
5
6
7
class Game < ActiveRecord::Base
	belongs_to :parent, class_name: "Game"
	has_many :children, class_name: "Game"
	has_many :game_settings

	alias_attribute :settings, :game_settings
end