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 added my current solution to stackoverflow above (splitting the view). Another issue is caching the partial itself. How do I cache within the partial?
I don't think this is a Rabl bug. Looks more like a design issue with how your templates are setup. If Students belong to a School, Students should be nested under the School template. If you are looking at individual students, you should pull the Schools in a separate request and refer to them using their foreign keys. If you really need to render the entire school template under each student, you'll need to figure out how to implement reverse touch or disable caching.
http://stackoverflow.com/questions/15277146/rabl-caching-with-nested-object
I can repost if needed. I also tried
cache root_object # instead of cache @Retailer
in _school.json.rabl
The text was updated successfully, but these errors were encountered: