lib/sportdb/models/models/world/continent.rb in sportdb-models-2.0.3 vs lib/sportdb/models/models/world/continent.rb in sportdb-models-2.1.0

- old
+ new

@@ -1,20 +1,20 @@ -# encoding: utf-8 - -module WorldDb - module Model - - class Continent - has_many :teams, :through => :countries - - # fix: require active record 4 - # has_many :clubs, :through => :countries - # has_many :national_teams, :through => :countries - - - has_many :leagues, :through => :countries - has_many :grounds, :through => :countries - end # class Continent - - end # module Model -end # module WorldDb - +# encoding: utf-8 + +module WorldDb + module Model + + class Continent + has_many :teams, :through => :countries + + # fix: require active record 4 + # has_many :clubs, :through => :countries + # has_many :national_teams, :through => :countries + + + has_many :leagues, :through => :countries + has_many :grounds, :through => :countries + end # class Continent + + end # module Model +end # module WorldDb +