diff --git a/Gemfile.lock b/Gemfile.lock index f25f2a3f..64ae73e6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -139,6 +139,7 @@ GEM multipart-post (~> 2) faraday-net_http (3.3.0) net-http + ffi (1.17.0-arm64-darwin) ffi (1.17.0-x86_64-darwin) ffi (1.17.0-x86_64-linux-gnu) gli (2.21.5) @@ -416,6 +417,7 @@ GEM zeitwerk (2.6.17) PLATFORMS + arm64-darwin-24 x86_64-darwin-22 x86_64-linux diff --git a/app/models/speaker.rb b/app/models/speaker.rb index 35482204..44d44044 100644 --- a/app/models/speaker.rb +++ b/app/models/speaker.rb @@ -43,7 +43,7 @@ def format_links end def url_exists? - links.each_value { |_, url| errors.add(:links, 'This url is not valid') unless url_valid?(url) } + links.each_value { |url| errors.add(:links, 'This url is not valid') unless url_valid?(url) } end def empty_links?