From 7265af094ed16c36632128bccdcf84a3796c2359 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 25 Mar 2023 00:10:33 -0600 Subject: AƱade specs de addresscontroller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/address.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/address.rb') diff --git a/app/models/address.rb b/app/models/address.rb index 6d542ab..6986dd4 100644 --- a/app/models/address.rb +++ b/app/models/address.rb @@ -21,6 +21,6 @@ class Address < ApplicationRecord def valid_country return if ISO3166::Country.codes.include?(country) - errors.add(:country, 'Invalid country') + errors.add(:country, 'is invalid') end end -- cgit v1.2.3