Project

General

Profile

Actions

Refactor #21611

closed

speed up has_many_common methods

Added by Tomer Brisker about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

has_many_common defines *_name methods for associations. These calls are used extensively in the API to load data and their performance can be improved by leveraging pre-loaded relations in activerecord.

Actions

Also available in: Atom PDF