server/app/models/wish.rb
# This method does not need to be called and will show the program that
# tries to assign this value, this is the way figured out what was
# happening with validate mentee
# def api_user_id=(value)
#   byebug
#   super(value)
# end
This method does not need to be called and will show the program that
tries to assign this value, this is the way figured out what was
happening with validate mentee
def api_user_id=(value)
byebug
super(value)
end
This method does not need to be called and will show the program that tries to assign this value this is the way figured out what was happening with validate mentee def api_user_id = ( value ) byebug super ( value ) end
def online_or_offline
    return unless (available_offline == false) && (available_online == false)
    errors.add(:api_user, 'must be available either online or offline to complete wish')
  end
def online_or_offline return unless ( available_offline == false ) && ( available_online == false ) errors . add ( :api_user , 'must be available either online or offline to complete wish' ) end
This method does not need to be called and will show the program that
tries to assign this value, this is the way figured out what was
happening with validate mentee
def api_user_id=(value)
byebug
super(value)
end
This method does not need to be called and will show the program that tries to assign this value this is the way figured out what was happening with validate mentee def api_user_id = ( value ) byebug super ( value ) end
# if (available_offline == false) && (available_online == false) #   errors.add(:api_user, 'must be available either online or offline to complete wish') # end