Authenticated Cookie plugin
Plugin details
Documentation
I don’t really think this is deserving of a plugin, but for those of you using Acts as Authenticated who want to really squeeze twice as much out of your application, here’s one way to do it:
1. Install Acts as Authenticated
2. Create User model
3. Fix application to expect current_user.is_a? User
4. (optional) Fix application to not use sessions or flash
5. Remove “include AuthenticatedSystem” from application.rb
6. Add migration from below
7. Place the following library in your lib and require it in environment.rb
8. Put include AuthenticatedCookie in your application.rb
9. (optional) Turn off sessions by placing the following in your environment.rb:
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:disabled => true)
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

