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 -- Posted via http://www.ruby-forum.com/.
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? > > Thankstry ":except => [:create_user]" -- Posted via http://www.ruby-forum.com/.
> > try ":except => [:create_user]"Thanks for the input but same situation.... -- Posted via http://www.ruby-forum.com/.
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 -- View this message in context: http://www.nabble.com/webrick-server-slow-or-does-not-connect-tf2000642.html#a5493397 Sent from the RubyOnRails Users forum at Nabble.com.
http://mongrel.rubyforge.org/ -- Posted via http://www.ruby-forum.com/.