similar to: Login Authentication working in IE but not in Mozilla

Displaying 20 results from an estimated 200 matches similar to: "Login Authentication working in IE but not in Mozilla"

2006 Feb 28
1
Oracle OraNumber problem with Authentication. Please help!
I have added an authenticator using the instructions here: http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticate The LoginController sets session["employee"] to an employee. When i try to access the session["employee"] from another controller i get this error : " TypeError (no marshal_dump is defined for class OraNumber): c:/ruby/lib/ruby/1.8/pstore.rb:159:in
2006 Mar 24
0
Embedding swf files in emails to be sent via Action Mailer
Hi, Is there anybody who can tell me if its possible to send swf files in an HTML email via Action Mailer. I gained success in sending basic HTML mail but couldnt send embedded swf files. Instead, the mail client at the recipient end shows a blank mail when I send the swf file with <object> and <embed> tags. Any help would be appreciated. Thanks prasad, Email to me at:
2006 Mar 27
4
How to create exe for my ruby on rails application?
Hello all! Can anyone throw me light to create EXE for my ruby on rails application. I need to deploy my application at the client''s place and i dont feel like exposing the source code. Thanks.. regards.. surjya.hazarika@genieinteractive.com -- Posted via http://www.ruby-forum.com/.
2013 Jan 18
1
redirect_to(session[:return_to]) vs session.delete
Hey all, Recently I''ve been looking into on how to return back to a previous referring URL and and the most common approach is: redirect_to session[:return_to] But some recommend: redirect_to(session.delete(:return_to) || default) How I understand it, in the second example we call session.delete so it will clear the return path since we will no longer need it, and we also use
2006 Jun 28
2
Saving and reproducing a POST request.
Hi I have an action which saves the originating resource from which it was called, and returns to it later. This is done by setting: session[:return_to] = request.referer ... redirect_to(session[:return_to]) Which works great for GET resources. The problem is that POST variables aren''t kept in request.referer, so this method fails when the originating resource is a a POST.
2004 Oct 24
0
redirection bug ?
Hi I use code from authentication example from ruby on rails web page. Everything looked fine until i found thet when i log for the first time it gives me bad redirection. When session[''return_to''] was set everythig had been fine so i changed (look into my code) from 1 to 2. this is from login controler def login if
2006 May 10
2
session[:return_to] for going back.
Hi, Is session[:return_to] something Rails maintains to quickly go back to the previous uri without having to keep track of the action name? Or, do we have to actually set it in our actions? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060510/7e36a528/attachment.html
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi, I just installed Rails 2.0.2 [root@mymachine easyx]# ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] [root@mymachine easyrx]# gem install rails --include-dependencies Need to update 16 gems from http://gems.rubyforge.org ................ complete Successfully installed rails-2.0.2 [root@remandev easyrx]# But I''m getting this error in my restful_authentication
2006 May 03
0
Accessing the params hash in a functional test not working
I am having problems reading params in a functional test (Rails 1.1.2). My test looks like this: fixtures :users def test_auth_bob @request.session[:return_to] = "/bogus/location" post :login, :user => { :email => "bob@example.com", :password => "test" } assert_session_has :user assert_equal @bob, @response.session[:user]
2010 Feb 19
0
You are being redirected
I have done something to my application controller so that instead of the redirected page itself am now seeing this as a response: <html><body>You are being <a href="http://www.example.com/ welcome">redirected</a>.</body></html> I do not know why this is happening or what I did to trigger this behaviour. The API does not give me any clues as to
2007 Jun 29
0
acts_as_authenticated, reset_session, and redirect_back_or_default
Just a question and an FYI I just installed rails and acts_as_authenticated and was setting up a site. Everything works fine except that in the AccountController that I generated the calls to the routine redirect_back_or_default don''t work because the call just before it to reset_session clears the session[:return_to] that the method uses to set where it will redirect. I ended up adding
2006 Nov 08
1
controller.session not same as session?
> context "A user logging out" do > fixtures :users > controller_name :account > > setup do > login_as :quentin > users(:quentin).remember_me > request.cookies["auth_token"] = cookie_for(:quentin) > end > > def logout > get :logout > end > > specify "should unset :user in session" do
2018 Feb 11
0
Parallel assignments and goto
> On Feb 11, 2018, at 7:48 AM, Thomas Mailund <thomas.mailund at gmail.com> wrote: > > Hi guys, > > I am working on some code for automatically translating recursive functions into looping functions to implemented tail-recursion optimisations. See https://github.com/mailund/tailr > > As a toy-example, consider the factorial function > > factorial <-
2018 Feb 14
0
Parallel assignments and goto
Dear Thomas, This looks like a really interesting project, and I don't think that anyone responded to your message, though I may be mistaken. I took at a look at implementing parallel assignment, and came up with: passign <- function(..., envir=parent.frame()){ exprs <- list(...) vars <- names(exprs) exprs <- lapply(exprs, FUN=eval, envir=envir) for (i in
2007 May 23
3
User Login (process_login)
Hiya - before I start let me tell you i''m a Nuby on Rails. I''ve created a user registration within my application that requires email validation and that seems to be working fine. I''m now creating the user login page and have the following code in my UsersController: def login @user = User.new @user.username = params[:username] end def
2008 Jun 13
3
before_filter order of execution
Hi I''m trying to use before_filter to allow access to a site. Only logged in users can view any object in the controller, but only users with a access_level higher than 2 can view specific objects. My code is: ----------------------------------------------------------- IN USER_CONTROLLER before_filter :login_required before_filter :access_granted, :only => [:destroy, :new , :edit]
2008 Jan 22
0
[ win32utils-Bugs-17395 ] Cannot install win32-api gem
Bugs item #17395, was opened at 2008-01-22 03:53 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=17395&group_id=85 Category: win32-api Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Cannot install win32-api gem Initial Comment: Hi, I use cygwin (version 1.90) on windows XP
2007 Feb 15
0
Error handleing with redirect_to
I''m sketching out a error handler, something like if cando = false redirect_to( :controller => Oops, :action => ''accessdenied'', :type => ''alarm'', :message => ''no_permission_to_view'', :return_to => saved_url, ) else .... end Is this an
2007 Feb 21
1
setting session data from a post
I''m using acts_as_authenticated, and I''m trying to run some tests where the user must be registered. In the past, I''ve just included a user id in the session data. def test_login_loads_from_post_session post :new, nil, { :user => 7 } session = assigns(:session) assert_equal 7, session[:user] end My assert statement seems to be failing because my session is
2009 Oct 28
1
Using Cucumber with Lockdown
Has anyone had any issues using Cucumber with Lockdown. in the following scenario, I am logged in as an admin and so should have :all access rights, however I get the following error. Authoriztion filed! prms: {"action"=>"index", "controller"=>"admin"} session: {:expiry_time=>Wed Oct 28 13:33:43 +0000 2009,