You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like assistance implementing lazy HTTP calls for Collections.
Currently doing something like this:
# This makes two API calls.result=MyActiveResourceModel.where(first_name: "John").where(last_name: "Doe")
Ideal scenario would be that:
# This makes 0 API callresult=MyActiveResourceModel.where(first_name: "John").where(last_name: "Doe")# This makes 1 API callresult.to_a# This makes 1 API callresult.any?
The text was updated successfully, but these errors were encountered:
Summary
I would like assistance implementing lazy HTTP calls for Collections.
Currently doing something like this:
Ideal scenario would be that:
The text was updated successfully, but these errors were encountered: