Sha256: c9c336d20177577301bbb2201a550a872770c65674e5a9ef4fc652fd8905fb5e

Contents?: true

Size: 333 Bytes

Versions: 21

Compression:

Stored size: 333 Bytes

Contents

## todo: how to best extends city model?

module WorldDB::Models
  class City
    has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'city_id'
  end
end # module WorldDB::Models


## moved to models/forward
#  module SportDB::Models
#  City = WorldDB::Models::City
# end # module SportDB::Models

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sportdb-1.5.0 lib/sportdb/models/city.rb
sportdb-1.4.2 lib/sportdb/models/city.rb
sportdb-1.4.1 lib/sportdb/models/city.rb
sportdb-1.4.0 lib/sportdb/models/city.rb
sportdb-1.3.0 lib/sportdb/models/city.rb
sportdb-1.2.0 lib/sportdb/models/city.rb
sportdb-1.1.0 lib/sportdb/models/city.rb
sportdb-1.0.1 lib/sportdb/models/city.rb
sportdb-1.0.0 lib/sportdb/models/city.rb
sportdb-0.9.7 lib/sportdb/models/city.rb
sportdb-0.9.6 lib/sportdb/models/city.rb
sportdb-0.9.5 lib/sportdb/models/city.rb
sportdb-0.9.4 lib/sportdb/models/city.rb
sportdb-0.9.3 lib/sportdb/models/city.rb
sportdb-0.9.2 lib/sportdb/models/city.rb
sportdb-0.9.1 lib/sportdb/models/city.rb
sportdb-0.9.0 lib/sportdb/models/city.rb
sportdb-0.8.1 lib/sportdb/models/city.rb
sportdb-0.8.0 lib/sportdb/models/city.rb
sportdb-0.7.2 lib/sportdb/models/city.rb