I created a video about a new Rails feature: Rails Query. This feature is slick and your AI doesn't know about it yet. Thank you @lewispb.
https://t.co/jzcAC19PxY
'rails query' produces an Active Support Notification, `query.rails`. Subscribing to that enables logging and later auditing. Here's a PR in Console 1984 to subscribe to it, to start logging queries made (incl. which agent and user made them).
https://t.co/Ad8MIe7kXT
This Week in Rails:
A new `rails query` command lands: run read-only ActiveRecord queries from the command line and get structured JSON output with columns, rows, pagination metadata, query time, and generated SQL. Subcommands include `query schema`, `query models`, and `query explain`.
Also: static CSS and HTML files now include `charset=utf-8` in Content-Type, new Rails apps get a PWA offline fallback page, and ParameterFilter gains O(1) hash lookup for exact-match regexp filters.
Read all that and more in this week's newsletter: https://t.co/Hpw8t2JQaK
“rails query” is a great way to have your LLM / Claude / agent of choice query your production database. Read-only with a hook for logging and auditing. Works well with “kamal app exec” and Console 1984. Skill and blog post coming soon!
https://t.co/9wAQSopy4P
i'm seeing a new problematic behavior emerge in medium-big companies because of ai
somebody notices a performance issue or missing case in a feature they don’t own or maintain
instead of creating a ticket, they try to be nice and prompt their way to a PR
very nice but…
It's a bit niche, but if there's any Tidbyt owners in the UK interested in tide times, sea state, and wind speed, I've got you covered. https://t.co/CFMimbDQVc
Open source + money is a tricky path, full of dead ends.
I have seen a model that works at 37signals: build and sell a product, then open-source the tech behind it.
The product is the anchor and aligns incentives: open source serves the product, and the company sustains itself from it.
Just the last 5 years of 37signals open source is 🤯: https://t.co/lHDtxhYRCr
I wish we had more of this in the industry.
The UK has announced plans to fast-track legislation requiring “age verification for VPN use”. The correct term, however, is not age verification but identity verification.
A law like this would require everyone to identify themselves in order to use a VPN. This would pose a risk to whistleblowers, violate human rights, and represent yet another step toward an authoritarian society.
@usewhawit@ilyesm@dhh@vigilbase Oh and re: latency monitoring I want to do more work there so that Upright has a better performance monitoring set up OOB.
It does report web vital metrics via Playwright probes but I want to flesh that out more.
@usewhawit@ilyesm@dhh@vigilbase Yes, we warn on partial failure and page on total failure.
Each Prometheus / Alertmanager alerts independently to PagerDuty. PagerDuty de-dupes alerts.