|
|
|
|
|
by resonious
929 days ago
|
|
Good stuff but the `size`, `count`, `length` section just intensifies my dislike for ORMs. ORMs bury all of the SQL, just for devs to dig it back up when they realize it's important for performance. Now you have to be a SQL expert and an ActiveRecord expert. |
|
Also, a proficient developer looks at the SQL logs anyway as they develop a given feature.
Rails' flavor of ORM is particularly composable and transparent - you can easily mix/match it with vanilla SQL.