Meant to add that. wherps.
This commit is contained in:
parent
8ad33d18b7
commit
cc0cd9e8cd
@ -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
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
class Requester < ActiveRecord::Base
|
class Requester < ActiveRecord::Base
|
||||||
|
has_many :mashes
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user