diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/alert.rb | 2 | ||||
-rw-r--r-- | app/models/game_setting.rb | 2 | ||||
-rw-r--r-- | app/models/match.rb | 4 | ||||
-rw-r--r-- | app/models/pm.rb | 4 | ||||
-rw-r--r-- | app/models/remote_username.rb | 4 | ||||
-rw-r--r-- | app/models/score.rb | 4 | ||||
-rw-r--r-- | app/models/session.rb | 2 | ||||
-rw-r--r-- | app/models/team.rb | 2 | ||||
-rw-r--r-- | app/models/tournament.rb | 2 | ||||
-rw-r--r-- | app/models/tournament_preference.rb | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/app/models/alert.rb b/app/models/alert.rb index 343c269..0516355 100644 --- a/app/models/alert.rb +++ b/app/models/alert.rb @@ -1,3 +1,3 @@ class Alert < ActiveRecord::Base - belongs_to :author + belongs_to :author end diff --git a/app/models/game_setting.rb b/app/models/game_setting.rb index e147b15..bff8d97 100644 --- a/app/models/game_setting.rb +++ b/app/models/game_setting.rb @@ -1,3 +1,3 @@ class GameSetting < ActiveRecord::Base - belongs_to :game + belongs_to :game end diff --git a/app/models/match.rb b/app/models/match.rb index bb814c1..fe68d31 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -1,4 +1,4 @@ class Match < ActiveRecord::Base - belongs_to :tournament - belongs_to :winner + belongs_to :tournament + belongs_to :winner end diff --git a/app/models/pm.rb b/app/models/pm.rb index ab5af3b..9fce2b3 100644 --- a/app/models/pm.rb +++ b/app/models/pm.rb @@ -1,4 +1,4 @@ class Pm < ActiveRecord::Base - belongs_to :author - belongs_to :recipient + belongs_to :author + belongs_to :recipient end diff --git a/app/models/remote_username.rb b/app/models/remote_username.rb index 94e5063..c477f8a 100644 --- a/app/models/remote_username.rb +++ b/app/models/remote_username.rb @@ -1,4 +1,4 @@ class RemoteUsername < ActiveRecord::Base - belongs_to :game - belongs_to :user + belongs_to :game + belongs_to :user end diff --git a/app/models/score.rb b/app/models/score.rb index a9b9c71..11ee9a6 100644 --- a/app/models/score.rb +++ b/app/models/score.rb @@ -1,4 +1,4 @@ class Score < ActiveRecord::Base - belongs_to :user - belongs_to :match + belongs_to :user + belongs_to :match end diff --git a/app/models/session.rb b/app/models/session.rb index c66afec..a5fd26e 100644 --- a/app/models/session.rb +++ b/app/models/session.rb @@ -1,3 +1,3 @@ class Session < ActiveRecord::Base - belongs_to :user + belongs_to :user end diff --git a/app/models/team.rb b/app/models/team.rb index 9e71557..8d89f51 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,3 +1,3 @@ class Team < ActiveRecord::Base - belongs_to :match + belongs_to :match end diff --git a/app/models/tournament.rb b/app/models/tournament.rb index cc915a0..dcdb8d5 100644 --- a/app/models/tournament.rb +++ b/app/models/tournament.rb @@ -1,3 +1,3 @@ class Tournament < ActiveRecord::Base - belongs_to :game + belongs_to :game end diff --git a/app/models/tournament_preference.rb b/app/models/tournament_preference.rb index 1f335e3..3d15061 100644 --- a/app/models/tournament_preference.rb +++ b/app/models/tournament_preference.rb @@ -1,3 +1,3 @@ class TournamentPreference < ActiveRecord::Base - belongs_to :tournament + belongs_to :tournament end |