I found the problem to be caused by something else; please ignore this question.

 

Thanks,

-Tin

 

From: Tin Vo [mailto:[email protected]] 
Sent: Saturday, November 08, 2014 10:07 AM
To: '[email protected]'
Subject: Unable to access 'current_user' in 'conditions_for_collection'

 

Hello,

 

I can’t seem to access Devise’s ‘current_user’ inside  
‘conditions_for_collection’ in my controllers;  I was using vho’s branch 
previously and it was working fine; but now with 3.4.8, I’m getting the error:

 

ActionView::Template::Error (undefined local variable or method `current_user' 
for #<ActiveScaffold::Config::Core:0x00000011ad1108>):

 

My development environment points the problem inside the 
‘conditions_for_collection’.

 

Any help is appreciated.

 

-Tin

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to