Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 80815bbbe4
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (21 sloc) 0.798 kb
# == Schema Information
#
# Table name: bonus_points
#
# id :integer not null, primary key
# user_id :integer not null
# pool_id :integer not null
# round_id :integer not null
# round_pts :integer default(0), not null
# round_pos :integer default(0), not null
# total_pts :integer default(0), not null
# total_pos :integer default(0), not null
# diff_total_pos :integer default(0), not null
# created_at :datetime not null
# updated_at :datetime not null
#
class BonusPoint < ActiveRecord::Base
belongs_to :user
belongs_to :pool
belongs_to :round, :class_name => 'BonusRound', :foreign_key => 'round_id'
end # class BonusPoint
Jump to Line
Something went wrong with that request. Please try again.