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
we want the ability to have whatever is in the include param eagerly load the relationships for us upon model resolution so that our controller actions can remain as
renderjson: model,include: params[:include]
The text was updated successfully, but these errors were encountered:
Similar to ActiveModelSerializer's
include
option, but for eagerly loading relationships, rather than just rendering them.For example, instead of having to write this:
we want the ability to have whatever is in the
include
param eagerly load the relationships for us uponmodel
resolution so that our controller actions can remain asThe text was updated successfully, but these errors were encountered: