lib/sportdb/models/country.rb in sportdb-0.7.0 vs lib/sportdb/models/country.rb in sportdb-0.7.1

- old
+ new

@@ -3,11 +3,11 @@ ## todo: how to best extends country model? module WorldDB::Models class Country - has_many :teams, :class_name => 'Team', :foreign_key => 'country_id' - has_many :leagues, :class_name => 'League', :foreign_key => 'country_id' + has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'country_id' + has_many :leagues, :class_name => 'SportDB::Models::League', :foreign_key => 'country_id' end # class Country end # module WorldDB::Models