-
Petrik authored
Calling `eager_load` will execute a single query with a join, not two. The original queries were probably the result of executing the code in the console, where `books = Book.eager_load(:author).limit(10) ` would execute the query.
Petrik authoredCalling `eager_load` will execute a single query with a join, not two. The original queries were probably the result of executing the code in the console, where `books = Book.eager_load(:author).limit(10) ` would execute the query.
Loading