News for hackers. Stuff that matters.
Re:Rails 7 Released by KarlKemp on Wednesday December 15, 2021 @09:55PM (#29574284)
I use Rails as a portable, light, zero-conf frontend for data exploration. Just create the minimum viable rails app (--api), fill in the database connection, and you get a powerful REPL for exploring + rake to run transformations.
Re:Rails 7 Released by ignurant on Wednesday December 15, 2021 @11:37PM (#29574932)
There’s even a book about that! https://datavisualizationtoolkit.com/

Who would have thought that the “Data Visualization Toolkit” would be about Rails?

Turns out, it’s pretty sweet actually! rails new, g migration, baddaboom. I’ve done this a few times, but usually use chartkick rather than d3 as the book suggests.

Re:Rails 7 Released by stephenhuey on Wednesday December 15, 2021 @10:07PM (#29574347)
I have certainly turned to Rails many times to write a bunch of ActiveRecord models to play around with data in the console without ever running the web server.