Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Denis's Profile

GitHub User: ramden


Comments by Denis


I'm so sorry but have to tell you this too: take my previous comment, then in the mentioned offers controller add


and 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