I have the rails 3.1 authentication set up, how do I get it to make sure I authenticate system wide?
If you want everything controller to use Authentication then I would
suggest using a before_filter in the ApplicationController. Something
class ApplicationController < ActionController::Base
Use before_filter in ApplicationController class?
If by system wide you mean every action on every controller you can
set up a before_filter on ApplicationController and check for the
Hope it helps.
I am currently using the devise gem for authentication. It provides a
great base for authentication so that you don't have to reinvent the