summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-02-27 17:58:14 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-02-27 17:58:14 -0500
commit8d75a450ec1e34205ec4bee5587e8bddb9c89d21 (patch)
tree349c6cd9c9669c94675becdeeaac1c29fd60022e /app/models
parent6e20d92989739bde287c6a07c03ae3f70755660b (diff)
parent068e95231c3d2cee113cf77af67ce785d853429e (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/models')
-rw-r--r--app/models/game.rb2
-rw-r--r--app/models/game_attribute.rb3
-rw-r--r--app/models/tournament.rb1
-rw-r--r--app/models/tournament_options.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
new file mode 100644
index 0000000..a181c26
--- /dev/null
+++ b/app/models/game.rb
@@ -0,0 +1,2 @@
+class Game < ActiveRecord::Base
+end
diff --git a/app/models/game_attribute.rb b/app/models/game_attribute.rb
new file mode 100644
index 0000000..c12723b
--- /dev/null
+++ b/app/models/game_attribute.rb
@@ -0,0 +1,3 @@
+class GameAttribute < ActiveRecord::Base
+ belongs_to :game
+end
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index da3da0e..cc915a0 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -1,2 +1,3 @@
class Tournament < ActiveRecord::Base
+ belongs_to :game
end
diff --git a/app/models/tournament_options.rb b/app/models/tournament_options.rb
new file mode 100644
index 0000000..8ed6433
--- /dev/null
+++ b/app/models/tournament_options.rb
@@ -0,0 +1,2 @@
+class TournamentOptions < ActiveRecord::Base
+end