--BrrrHad overlooked one additional "include AuthenticatedSystem"If you are trying to migrate over you might want to declare this in your login controller:# Fake out the old authentication system and use Devise's methods to do so.def login_requireduser_signed_in?end-------- Original Message --------
Subject: AS & Devise
From: [email protected]
Date: Mon, June 14, 2010 2:46 pm
To: [email protected]
Hi,Trying to get Devise and AS to work together in an existing app that previously used Restful Authentication.I have a User model that I use with Devise. So I should have a method accessible called current_user available.As far as I understand the AS documentation this should work right out of the box.But I use current_user extensively in my views and my controllers. Did this method seems to have disappeared. Do I need to recreate it manually or is it available somewhere inside Device ?/S
--
You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
