Omar Karim

Results 3 comments of Omar Karim
trafficstars

The following might be worth a try: def create @user_session = UserSession.new(params[:user_session]) @user_session.save do |result| if result flash[:notice] = "Successfully logged in." redirect_to root_url end end if !performed? # no...

Thanks very much for taking a look at this. I have a fairly typical authlogic UsersController with the following create action: def create @user = User.new(params[:user]) @user.save do |result| if...

Ok great, thanks! Meanwhile, is there an option for auto-registering the user if s/he does not exist in the database when logging in for the first time? That way my...