Restful Authentication for Rails 2.0
You should look to the following article link to find out how to do it for Rails 2.0. I won’t post here the whole thing as I’d only be copying (roughly) someone else’s work anyway. Just a few points to note though.
include AuthenticatedSystem
should go under your class declaration in the app/controllers/application.rb file. Also, in the application.html.erb layout you want (right have the very end of the document) the following:
<%= yield %>
Don’t be a twat and forget that like I did, and then sit there wondering why the hell it wasn’t showing the content.
Anyway, here’s the post: Restful Authentication Rails 2.0.

Leave a Reply