A short snippet on how to make Ruby on Rails authenticate_or_request_with_http_basic respond with a JSON valid message upon failure.
class ApplicationControllerCover photo by Vladimer Shioshvili on Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0) license.
The post Ruby on Rails HTTP Basic authentication with JSON failure message appeared first on Running with Ruby.
Pi-hole is a network-wide ad blocker that acts as a DNS sinkhole. It’s an effective…
Two local privilege escalation (LPE) vulnerabilities affecting the Linux kernel have been publicly disclosed on…
Users now have additional Operating System choices to use with Ubuntu VPS servers. Ubuntu 26.04…
Introduction I just returned from RubyKaigi 2026, held from April 22nd to 24th in Hakodate,…
The countdown to the Ubuntu Summit is officially on! We are just three weeks away…
Why run Ubuntu on Windows? It’s about getting the best of both worlds. Many organizations…