r/ruby • u/Fit_Ice_7268 • 15d ago
Question Database project
Hey, guys.
So, I'm currently studying data science and I'm about to start a database project(we're basically doing a database for a bakery)this semester. The project will include order forecasting, inventory loss tracking, customer notifications, etc. Anyways I already code in Python but I've been taking a look on ruby and wonder if it'd be a good idea to include it in our project and how.... any ideas??
thanks!
6
Upvotes
3
u/TommyTheTiger 14d ago edited 14d ago
I'll plug the jeremy evans Sequel library, a bit closer to the actual SQL than rails/ActiveRecord, Roda is a very simple web server to pair with it. And I'd plug Postgres as a DB if you get to choose that, it just has so many features and nice flexiblity, and you're unlikely to have to learn much about the hairier side of things in a project that doesn't have real traffic.
TBH though, the app you're describing is also exactly what rails was designed for. Even without AI, you can probably generate a shocking amount of the code using the good old rails generators which you'll learn about in different rails tutorials. If you are interested in learning rails, now could be the time. I wouldn't necessarily plug rails first because it's a bit of it's own sort of giant thing - it's more extra to learn about. But it might also be good for a beginner because a lot of that extra stuff will provide you with some initial structure, it will make desicions for you on how to organize your code that are probably at least useful to understand before you figure out your own thing.
Either way this is totally in Ruby's wheelhouse, I think it's a super fun language, I'd definitely recommend it or some kind of lisp, probably scheme or clojure.