Hi all,
i am trying to access some acts_as_authenticated methods in my layout,
but it appears to melfunction.
“include AuthenticationSystem” was added to the application_controller.
any help?
Hi all,
i am trying to access some acts_as_authenticated methods in my layout,
but it appears to melfunction.
“include AuthenticationSystem” was added to the application_controller.
any help?
Questions like this are useless without the details. Which methods?
How are you trying to access them?
On Apr 11, 7:37 am, Elad M. [email protected]
Hi,
AuthenticatedSystem mixed in controller methods is protected,
however, you may use the following ugly hack to work around that:
eg. @controller.send(:current_user)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs