Meant to add that. wherps.

This commit is contained in:
Dan Buch 2012-03-09 00:31:41 -05:00
parent 8ad33d18b7
commit cc0cd9e8cd
2 changed files with 2 additions and 1 deletions

View File

@ -2,5 +2,5 @@ class Mash < ActiveRecord::Base
has_one :map_a, :class_name => 'Map' has_one :map_a, :class_name => 'Map'
has_one :map_b, :class_name => 'Map' has_one :map_b, :class_name => 'Map'
has_one :winner, :class_name => 'Map' has_one :winner, :class_name => 'Map'
has_one :requester belongs_to :requester
end end

View File

@ -1,2 +1,3 @@
class Requester < ActiveRecord::Base class Requester < ActiveRecord::Base
has_many :mashes
end end