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.19.1 lib/sportdb/models/roster.rb
sportdb-models-1.19.0 lib/sportdb/models/roster.rb
sportdb-models-1.18.6 lib/sportdb/models/roster.rb
sportdb-models-1.18.5 lib/sportdb/models/roster.rb
sportdb-models-1.18.4 lib/sportdb/models/roster.rb
sportdb-models-1.18.3 lib/sportdb/models/roster.rb
sportdb-models-1.18.2 lib/sportdb/models/roster.rb
sportdb-models-1.18.1 lib/sportdb/models/roster.rb
sportdb-models-1.18.0 lib/sportdb/models/roster.rb
sportdb-models-1.17.0 lib/sportdb/models/roster.rb
sportdb-models-1.16.2 lib/sportdb/models/roster.rb
sportdb-models-1.16.1 lib/sportdb/models/roster.rb
sportdb-models-1.16.0 lib/sportdb/models/roster.rb
sportdb-models-1.15.2 lib/sportdb/models/roster.rb
sportdb-models-1.15.1 lib/sportdb/models/roster.rb
sportdb-models-1.15.0 lib/sportdb/models/roster.rb
sportdb-models-1.14.2 lib/sportdb/models/roster.rb
sportdb-models-1.14.1 lib/sportdb/models/roster.rb
sportdb-models-1.14.0 lib/sportdb/models/roster.rb
sportdb-models-1.13.0 lib/sportdb/models/roster.rb