3 ms·
If you are using an ORM and need to write a query that will run on a SQL server you *need SQL knowledge and ORM knowledge*. If you are missing one the two, you
by Fire-Dragon-DoL 5y ago
If you are using an ORM and need to write a query that will run on a SQL server you *need SQL knowledge and ORM knowledge*. If you are missing one the two, you probably have just wrote something with big performance penalties. This has been seen over and over in the Rails community.
- mohanmcgeek 5y agoExactly my experience too. The amount of SQL hatred from rails learning resources is unjustifiable. If you're dealing with a relational database with SQL as its primary interface, you'll end up learning SQL eventually because all abstractions leak!