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-1.9.2 lib/sportdb/models/roster.rb
sportdb-1.9.1 lib/sportdb/models/roster.rb
sportdb-1.9.0 lib/sportdb/models/roster.rb
sportdb-1.8.29 lib/sportdb/models/roster.rb
sportdb-1.8.28 lib/sportdb/models/roster.rb
sportdb-1.8.27 lib/sportdb/models/roster.rb
sportdb-1.8.26 lib/sportdb/models/roster.rb
sportdb-1.8.25 lib/sportdb/models/roster.rb
sportdb-1.8.24 lib/sportdb/models/roster.rb
sportdb-1.8.23 lib/sportdb/models/roster.rb