I have a bunch of tables in my app, and I have a view that basically loads all of them via associations, The problem is I end up with something like 100 queries if its not cached. Is there a way just to do 1 query and load the entire database into memory, I tried .includes but it still does queries for .count and other stuff. .entries doesn't seem to work. Any tips and help are greatly apreciated.
My model associations are like so (many>one, one=one):
- Clients < Projects < Activities = Assignments = Users
- Assignments < Tasks