lib/sportdb/models/forward.rb in sportdb-1.8.22 vs lib/sportdb/models/forward.rb in sportdb-1.8.23

- old
+ new

@@ -3,25 +3,27 @@ ## require first to resolve circular references module SportDb module Model - ## todo: why? why not use include WorldDb::Models here??? + Prop = ConfDb::Model::Prop + ## todo: why? why not use include WorldDb::Models here??? Continent = WorldDb::Model::Continent Country = WorldDb::Model::Country Region = WorldDb::Model::Region City = WorldDb::Model::City - Prop = ConfDb::Model::Prop + Person = PersonDb::Model::Person ## nb: for now only team and league use worlddb tables # e.g. with belongs_to assoc (country,region) class Team < ActiveRecord::Base ; end class League < ActiveRecord::Base ; end class Ground < ActiveRecord::Base ; end + class Goal < ActiveRecord::Base ; end end end @@ -35,6 +37,14 @@ League = SportDb::Model::League Ground = SportDb::Model::Ground end end + + +module PersonDb + module Model + Goal = SportDb::Model::Goal + end +end +