Sha256: 462be1158f2d4fe3e2b9524c543418c98be61e60db15447564b628b75c4abeea

Contents?: true

Size: 514 Bytes

Versions: 46

Compression:

Stored size: 514 Bytes

Contents

# encoding: utf-8

module SportDb
  module Model


class GroupStandingEntry < ActiveRecord::Base

  self.table_name = 'group_standing_entries'

  belongs_to :standing, class_name: 'SportDb::Model::GroupStanding', foreign_key: 'group_standing_id'
  belongs_to :team

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

end # class GroupStandingEntry


  end # module Model
end # module SportDb

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
sportdb-1.9.2 lib/sportdb/models/stats/group_standing_entry.rb
sportdb-1.9.1 lib/sportdb/models/stats/group_standing_entry.rb
sportdb-1.9.0 lib/sportdb/models/stats/group_standing_entry.rb
sportdb-1.8.29 lib/sportdb/models/stats/group_standing_entry.rb
sportdb-1.8.28 lib/sportdb/models/stats/group_standing_entry.rb
sportdb-1.8.27 lib/sportdb/models/stats/group_standing_entry.rb