Found out that if you put expose(:current_user){current_user} in combination with devise, this one little line is almost enough to access all submodules through it like a global var with meaning. In later controllers (assuming you have to log in as user) just using 'current_user.offers' etc
I'm so sorry but have to tell you this too: take my previous comment, then in the mentioned offers controller add
expose(:offers){current_user.offers}
expose(:offer)
and voila...you have a sort of..caching nesting how much I can see
Found out that if you put expose(:current_user){current_user} in combination with devise, this one little line is almost enough to access all submodules through it like a global var with meaning. In later controllers (assuming you have to log in as user) just using 'current_user.offers' etc