Forum: Ruby on Rails ACTS_AS_AUTHENTICATED in Views

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
72f8ab180f81f9c544e2b58da399c0be?d=identicon&s=25 Elad Meidar (eizesus)
on 2007-04-11 14:37
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?
77d5386c39c011d59cc13808f8a5156b?d=identicon&s=25 unknown (Guest)
on 2007-04-11 16:49
(Received via mailing list)
Questions like this are useless without the details. Which methods?
How are you trying to access them?

On Apr 11, 7:37 am, Elad Meidar <>
58e87dd3aaaecd0d99a59985e3ca49f3?d=identicon&s=25 Lourens Naude (Guest)
on 2007-04-12 02:38
(Received via mailing list)

AuthenticatedSystem mixed in controller methods is protected,
however, you may use the following ugly hack to work around that:

eg. @controller.send(:current_user)

- Lourens
This topic is locked and can not be replied to.