Extract generic elastic_index_dependant_association method
This method will be used in several places as we de-normalize more data in the index. This method at the class level also helps us avoid typo like bugs or association rename bugs which would have previously only have been caught later in sidekiq worker raising an exception. Raising early when defining the class provides a safer developer experience.
Showing
Please register or sign in to comment