Closed NitBravoA92 closed 1 year ago
Make sure the N+1 queries are not happening when searching for all recipes and their foods for a user.
Analyze the other controllers to make sure this problem is not present in other actions.
If an N+1 problem is detected, resolve it using the most convenient methods (for example, using "eager loading")
Make sure the N+1 queries are not happening when searching for all recipes and their foods for a user.
Analyze the other controllers to make sure this problem is not present in other actions.
If an N+1 problem is detected, resolve it using the most convenient methods (for example, using "eager loading")