Well, this is a structure, so it is optimized for the most common cases. If your application requires unusual and bizarre things (for example, huge performance requirements, you need to use libraries other than Ruby), then Rails may not be suitable.
It seems to me that whenever a company encounters these cases (usually performance, not functionality or integration with other systems), they should write their own materials - Google has a Big Table, Facebook has its own web server, etc. d.
If you are in this position, you are likely to switch to money and spend part of the money on rewriting your code, this is not a problem.
However, Rails is great for most common applications! I don't think it has spaces that can cause traps in ordinary cases.
source share