lib/sportdb/models/forward.rb in sportdb-1.8.1 vs lib/sportdb/models/forward.rb in sportdb-1.8.2

- old
+ new

@@ -15,10 +15,11 @@ ## 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 end module WorldDb::Model @@ -26,7 +27,8 @@ # add alias? why? why not? # is there a better way? # - just include SportDb::Models - why? why not? # - just include once in loader?? Team = SportDb::Model::Team League = SportDb::Model::League + Ground = SportDb::Model::Ground end