Sha256: 335fcc124f0e712e7e00c71761291eca03f61877efc2e94977973dd6aca59b15

Contents?: true

Size: 530 Bytes

Versions: 46

Compression:

Stored size: 530 Bytes

Contents

# encoding: utf-8

module SportDb
  module Model


class AlltimeStandingEntry < ActiveRecord::Base

  self.table_name = 'alltime_standing_entries'

  belongs_to :standing, class_name: 'SportDb::Model::AlltimeStanding', foreign_key: 'alltime_standing_id'
  belongs_to :team

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


end # class AlltimeStandingEntry


  end # module Model
end # module SportDb

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
sportdb-models-1.19.1 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.19.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.6 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.5 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.4 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.3 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.2 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.1 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.18.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.17.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.16.2 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.16.1 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.16.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.15.2 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.15.1 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.15.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.14.2 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.14.1 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.14.0 lib/sportdb/models/stats/alltime_standing_entry.rb
sportdb-models-1.13.0 lib/sportdb/models/stats/alltime_standing_entry.rb