sportdb 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sportdb/models/city.rb +1 -1
- data/lib/sportdb/models/country.rb +2 -2
- data/lib/sportdb/models/region.rb +1 -1
- data/lib/sportdb/version.rb +1 -1
- metadata +3 -3
data/lib/sportdb/models/city.rb
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
module WorldDB::Models
|
6
6
|
|
7
7
|
class Country
|
8
|
-
has_many :teams, :class_name => 'Team', :foreign_key => 'country_id'
|
9
|
-
has_many :leagues, :class_name => 'League', :foreign_key => 'country_id'
|
8
|
+
has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'country_id'
|
9
|
+
has_many :leagues, :class_name => 'SportDB::Models::League', :foreign_key => 'country_id'
|
10
10
|
end # class Country
|
11
11
|
|
12
12
|
end # module WorldDB::Models
|
data/lib/sportdb/version.rb
CHANGED
metadata
CHANGED