I have a before_filter in my applicationController (application.rb) for protecting all pages in my app: before_filter :login_required Then in a product controller i have a skip_filter with the only clause to allow guest users to access that resource. #allow access to show only if guest skip_before_filter :login_required, :only => [ :show ] This worked fine, allowing guest users to view only the show action. The problem is that when i login and try to access the show resource i get errors from references to @current_user. Im using the restful authentication plugin. An extension of the acts as authenticated plugin. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---