Is there a better way pulling subscription info?
Opened this issue · 0 comments
Deleted user commented
Sorry if this is the wrong place to ask, but is there a better way than below of pulling subscription info? I'm hoping that there is an eager loading option that I'm missing.
Currently I'm doing this:
account = ActiveZuora::Account.where(account_number: "12323").first account.subscriptions.scope.where(status: "Active").first.rate_plans.*.rate_plan_charges
That ends up creating 3 SOAP requests. Is there a way of eager loading similar to the REST API?