Reduce number of SQL queries for service templates
- Move logic from Admin::ServicesController to Service. - Improve performance avoiding N+1 queries: - Retrieve service templates reduced from 39 to 6 query counts. - Create service templates reduced from 178 to 80 query counts.
Showing
Please register or sign in to comment