Webrick server slow or does not connect

hi,

In login_controller.rb when I do the fallowing code it works fine
before_filter :authorize, :except => :login

but I want to do the fallowing when creating the user so the
authorization is not checked
before_filter :authorize, :except => :login, :except => :create_user

but when I do this webrick server appear to be slow or not connected and
take lot of time to load?

Could someone point me in correct direction?

Thanks

woow wrote:

hi,

In login_controller.rb when I do the fallowing code it works fine
before_filter :authorize, :except => :login

but I want to do the fallowing when creating the user so the
authorization is not checked
before_filter :authorize, :except => :login, :except => :create_user

but when I do this webrick server appear to be slow or not connected and
take lot of time to load?

Could someone point me in correct direction?

Thanks

try “:except => [:create_user]”

try “:except => [:create_user]”

Thanks for the input but same situation…

woow wrote:

try “:except => [:create_user]”

Thanks for the input but same situation…

Any Help???

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs