Hi everybody,
I have been successfully playing around with rails so far, but now I
have something that I haven’t encountered so far.
I am working on an application where users can login to, search for
stored data (newsagency data in this case) and export it to certain
target systems or “folders” in the system.
I created a nice rails app, I have several controllers to handle the
seperate parts of the application - one for doing the search, one for
enquiries, one to manage the folders, etc. pp.
But now I have one page element, that has to be visible on almost every
page, and this element is user dependent. I like to show the user the
available exports channels and folders, that means I have to render user
dependent date into a globally available page area. Partial come here to
my mind.
How do I solve this and where do I locate this page component, which has
from my perspective be defined in the global layout, but has to be
filled based on data relevant to the current user?
Any hints are highly appreciated.
Best regards,
Oliver