4 ms·
The actual default for Rails is SQLite [1], though a lot of people (perhaps a majority) use PostgreSQL. You certainly can use MongoDB with Rails via Mongoid, t
by bshimmin 9y ago
The actual default for Rails is SQLite [1], though a lot of people (perhaps a majority) use PostgreSQL. You certainly can use MongoDB with Rails via Mongoid, though I'm not sure vast numbers of people do, comparatively.
For Node, well, it varies, but at least once upon a time, people used to talk about the "MEAN" stack (MongoDB, Express, Angular, Node) - MongoDB and Node are certainly often used together.
[1] Not MySQL - edited as per the below correction.
- werdnapk 9y agoThe default for Rails is sqlite and has been for quite a while now.
- bshimmin 9y agoYou're quite right. It's so long since I've used Rails with anything other than Postgres I knew that it couldn't be the default because of having to specify the configuration flag, but it escaped me that it would be SQLite. Thanks for the correction.
- brianwawok 9y agoWell I guess Django ships with sqllite but postgres is the normal thing to flip on. Good to know rails is the same...