psanchezp

Modified validation

#
class Bet < ApplicationRecord
validates :visit, :local, :date, presence: true
validates :score_visit, :score_local, :user_id, :match_id, presence: true
belongs_to :user, inverse_of: :bets
belongs_to :match, inverse_of: :bets
has_one :group, through: :user, inverse_of: :bets
......