Sha256: 11229e9b40156e8f3a5cbc55b8105545ec479252944b02e9298f2f5d8dd5e8be
Contents?: true
Size: 355 Bytes
Versions: 21
Compression:
Stored size: 355 Bytes
Contents
# encoding: utf-8 ## todo: how to best extends country model? module WorldDB::Models class Region has_many :teams, :class_name => 'SportDB::Models::Team', :through => :cities end # class Region end # module WorldDB::Models ## moved to models/forward # module SportDB::Models # Region = WorldDB::Models::Region # end # module SportDB::Models
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
sportdb-0.7.1 | lib/sportdb/models/region.rb |