We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First Done Is your feature request related to a problem? Please describe. I have a search_import scope like
scope :search_import, -> { includes(:apps) }
I don't want to eager_load the apps when I'm only indexing let's say the domain name (FYI: domain has_many apps). How to unscope it
here's my search_data method
def search_data { apps_name: apps.map(&:name) }.merge(only_name) end def only_name { name: name } end
Describe the solution you'd like
Domain.unscope(:search_import).reindex(:only_name)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First
Done
Is your feature request related to a problem? Please describe.
I have a search_import scope like
I don't want to eager_load the apps when I'm only indexing let's say the domain name (FYI: domain has_many apps). How to unscope it
here's my search_data method
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: