Sha256: 291fb0feab035f1eff29325602a6c9b65023a6b5cebc56c791e286f4a1269497

Contents?: true

Size: 491 Bytes

Versions: 46

Compression:

Stored size: 491 Bytes

Contents

# encoding: utf-8

module SportDb
  module Model

class EventStandingEntry < ActiveRecord::Base

  self.table_name = 'event_standing_entries'

  belongs_to :standing, class_name: 'SportDb::Model::EventStanding', foreign_key: 'event_standing_id'
  belongs_to :team

  ## note:
  ##  map standing_id to group_standing_id - convenience alias
  def standing_id=(value)  write_attribute(:event_standing_id, value);  end

end # class EventStandingEntry


  end # module Model
end # module SportDb

Version data entries

46 entries across 46 versions & 2 rubygems

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