I have a user model that stores the currently logged in user in a
session variable so a db query won’t be created for every access to it.
However, I have another model (user_properties) that belongs_to the user
model. Question is, how can I achieve the same caching effect when I
current_user.user_properties (which is a dynamic finder I think)?
It currently creates a query for the user_properties based on the cached
user - but I want that data to be cached as well.