Sha256: 30e0ed724eebf7995e85b7e5746d52564f74251470be145c4562f16e54d1c3a6

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

module SportDb
  module Model


class Round < ActiveRecord::Base

  has_many :matches, -> { order('pos') }, class_name: 'Match'

  belongs_to :event

end # class Round


  end # module Model
end # module SportDb

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sportdb-models-2.1.0 lib/sportdb/models/models/round.rb
sportdb-models-2.0.3 lib/sportdb/models/models/round.rb
sportdb-models-2.0.2 lib/sportdb/models/models/round.rb
sportdb-models-2.0.1 lib/sportdb/models/models/round.rb
sportdb-models-2.0.0 lib/sportdb/models/models/round.rb