Sha256: 9e3a7c28576508147f0bd64967f7072ffdd69d183e3ca36b04671a9897df3d14

Contents?: true

Size: 301 Bytes

Versions: 50

Compression:

Stored size: 301 Bytes

Contents

module SportDb
  module Model

### use LineUp, Squad for name? - alias??

class Roster < ActiveRecord::Base

  belongs_to :event
  belongs_to :team
  belongs_to :person, class_name: 'PersonDb::Model::Person', foreign_key: 'person_id'

end  # class Roster


  end # module Model
end # module SportDb

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
sportdb-models-1.12.0 lib/sportdb/models/roster.rb
sportdb-models-1.11.2 lib/sportdb/models/roster.rb
sportdb-models-1.11.1 lib/sportdb/models/roster.rb
sportdb-models-1.11.0 lib/sportdb/models/roster.rb
sportdb-models-1.10.1 lib/sportdb/models/roster.rb
sportdb-models-1.10.0 lib/sportdb/models/roster.rb
sportdb-1.9.16 lib/sportdb/models/roster.rb
sportdb-1.9.15 lib/sportdb/models/roster.rb
sportdb-1.9.14 lib/sportdb/models/roster.rb
sportdb-1.9.13 lib/sportdb/models/roster.rb
sportdb-1.9.12 lib/sportdb/models/roster.rb
sportdb-1.9.11 lib/sportdb/models/roster.rb
sportdb-1.9.10 lib/sportdb/models/roster.rb
sportdb-1.9.9 lib/sportdb/models/roster.rb
sportdb-1.9.8 lib/sportdb/models/roster.rb
sportdb-1.9.7 lib/sportdb/models/roster.rb
sportdb-1.9.6 lib/sportdb/models/roster.rb
sportdb-1.9.5 lib/sportdb/models/roster.rb
sportdb-1.9.4 lib/sportdb/models/roster.rb
sportdb-1.9.3 lib/sportdb/models/roster.rb