Interesting Lobsters exception in my inbox this morning: ArgumentError in `delete': wrong number of arguments.
What? We never get clever with *args, so how did this code ever work? Funny story about the rest of the web, actually...
The exception came from deep in the common page-fetching code. In set_cookie:
if val.to_s == ""
@cookies[host][name] ? @cookies[host][name].delete : nil
@cookies[host][name] = val
Sites delete cookies by "setting" them to empty string, so the logic's right, but there's an obvious confusion in how to delete from a Ruby hash, should be .delete(:name). This indeed never worked.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!