Displaying 2 results from an estimated 2 matches for "authenticationfilter".
2006 May 17
0
class filter: cannot call protected controller methods
...FORE:
-----------
before_filter :login_required, :except => [:welcome,:login]
def login_required
unless current_user
session[:jumpto] = request.parameters
redirect_to login_invite_url
end
end
AFTER (does not compile)
-----------
class AuthenticationFilter
def self.filter(controller)
login_required =
[''welcome'',''login''].include?(controller.action_name)
if login_required && !controller.current_user
controller.session[:jumpto] =
controller.request.parameter...
2006 May 23
8
Can Win32 service more than one rails request at a time?
Hi,
I am trying to run Mongrel on win32 to serve an internal rails application.
We are accessing legacy data, and some transactions can take 5 to 10 seconds. This is holding up every other request. The -n does not seem to be supported on Win32.
Am I missing something, or should I look elsewhere to serve my Rails app on win32?
Thanks,
Walt
--
No virus found in this outgoing message.