SyntaxFix
Write A Post
Hire A Developer
Questions
have you tried eager loading?
@attachments = Job.includes(:attachments).find(1).attachments