This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Jamie Schembri
jamie.schembri.me
did:plc:b7i4j3fb3ltoyvorclobat7j
Consider using pattern matching in Ruby.
I wanted to update a user's location (RGeo Point) from an endpoint which receives a JSON object: { lat: ..., lng: ... }.
Using pattern matching, we can detect such an object's shape, falling back to a catch-all (_) with an if statement for regular Points.
2025-05-12T09:20:14.948Z