3 ms·
> It's supposedly great, otoh, if you're working on a CRUD app with minimal requirements, you're not that big into TDD, or if all the complex stuff in your app
by meesterdude 9y ago
> It's supposedly great, otoh, if you're working on a CRUD app with minimal requirements, you're not that big into TDD, or if all the complex stuff in your app actually lives on another service
Rails is also great at being a big monolith with complex requirements, complete testing, and doing it all in one codebase.
> especially when Devise or email is involved.
Devise, and some other libraries out there, do things in their own wackadoo way. Sometimes this is fine or even good. Other times, it can be a real WTF. Devise is kinda like that. But once you learn to work with it, it can be effective. and if/when it becomes a pain point, you can bring authentication in-app.
- vertex-four 9y ago> Rails is also great at being a big monolith with complex requirements, complete testing, and doing it all in one codebase. I've never seen or heard of a large codebase in Rails that looks like that, unfortunately. But perhaps they do exist and I've just never come across anyone who works on one. All of the large codebases I've heard of amount to big frontends in front of a backend service which handles significant amounts of the logic, leaving the Rails app to be almost-CRUD.
- meesterdude 9y agoBasecamp, for one. DHH is actually doing some tours of the codebase and talking about tradeoffs made and coding style. https://www.youtube.com/channel/UCdx5Dk3EWTe2i8YDA7bfl6g https://www.youtube.com/channel/UCdx5Dk3EWTe2i8YDA7bfl6g But there are plenty out there; github, shopify, hulu to name a few off the top of my head. To be fair, I've also done a lot of rescue projects where the previous developers were clearly coming from some other background, and doing things in non-rails ways and causing lots of pain for it.
- vertex-four 9y agoGitHub is very very far from a monolithic Rails app built "the Rails way". I would doubt that Shopify is either, but I can't say for certain. And Hulu's asset pipelines are very unlikely to be Rails, making it a relatively simple "display a catalogue and take payments" app.