79122951

Date: 2024-10-24 16:57:30
Score: 1
Natty:
Report link

You can query eager loaded associations (via includes) same way you can with joins:

User.includes(:projects).where(projects: {description: "hoge"})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MicahBrown