master
Bet
class Bet < ActiveRecord::Base belongs_to :user has_one :payment, dependent: :destroy has_many :match_bets, dependent: :destroy