by rapind · 2mo ago · 0 comments
To each their own, but I think using Rails in the era of agents is probably a mistake. It has 2 big problems IMO.
(a) A ton of footguns that an agent can and will miss on occasion, and as we manually review less and less code, we will also miss it, and
(b) security on the web has become increasingly important due to hostile AI agents, and while rails has great secure conventions (see (a)), it's still easier to screw up something and not catch it until after it's deployed because there are simply less guardrails in place (dynamic types, no compile, slow tests, generally bad performance profile).
Rails comes with the console by default, so production inspection of a bug is something the ai can do without a ton of bs to be set up, and that console can be forced to be auditable (using standard gems) or read only (using flags).
I used to love rust, still do sorta, but yeah I think this is really not a good argument against a tool that operationally is better at most things at being observed or poked or prodded or tested in production
All this static vs dynamic stuff doesn’t really matter anymore. AI doesn’t care. You just need to close the feedback loop with tests, linting, a compiler, or whatever else gives it a clear signal.
Simple as that.