jgeiger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-01 00:06 UTC
http_authentication plugin on edge rails
I''m trying to use the http_authentication plugin with edge rails, and I''m getting an error that I''m not sure how to deal with. I just added the code from the example to one of my controllers, and it''s throwing the following error: protected method `render'' called for #<SuggestionsController: 0xb70fa390> #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ http_authentication/basic.rb:49:in `authentication_request'' #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ http_authentication/basic.rb:17:in `request_http_basic_authentication'' #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ http_authentication/basic.rb:9:in `authenticate_or_request_with_http_basic'' #{RAILS_ROOT}/app/controllers/suggestions_controller.rb:75:in `authenticate'' /usr/local/bin/mongrel_rails:16:in `load'' /usr/local/bin/mongrel_rails:16 It''s having an issue creating/rendering the authentication box that would let you put in the password. I''m wondering if anyone else is trying to use this on edge, and could offer some suggestions. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, how did you install the plugin? What were you attempting to do to generate the error message? This information will help others help you. -Conrad On 3/31/07, jgeiger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jgeiger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m trying to use the http_authentication plugin with edge rails, and > I''m getting an error that I''m not sure how to deal with. I just added > the code from the example to one of my controllers, and it''s throwing > the following error: > > protected method `render'' called for #<SuggestionsController: > 0xb70fa390> > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > http_authentication/basic.rb:49:in `authentication_request'' > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > http_authentication/basic.rb:17:in `request_http_basic_authentication'' > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > http_authentication/basic.rb:9:in > `authenticate_or_request_with_http_basic'' > #{RAILS_ROOT}/app/controllers/suggestions_controller.rb:75:in > `authenticate'' > /usr/local/bin/mongrel_rails:16:in `load'' > /usr/local/bin/mongrel_rails:16 > > It''s having an issue creating/rendering the authentication box that > would let you put in the password. > I''m wondering if anyone else is trying to use this on edge, and could > offer some suggestions. > > Thanks > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jgeiger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-01 16:46 UTC
Re: http_authentication plugin on edge rails
I installed the plugin using "piston import http://svn.rubyonrails.org/rails/plugins/http_authentication/ vendor/ plugins/http_authentication" The error popped up when I went to http://www.site.com/suggestions/, which invoked the index method on the suggestions controller which I have protected. When I installed the plugin the same way on an earlier version of rails (1.1.6 I believe) I didn''t get the error, but just the response "HTTP Basic: Access denied." without an option to log in. On Mar 31, 7:10 pm, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, how did you install the plugin? What were you attempting to do to > generate the error message? This information will help others help > you. > > -Conrad > > On 3/31/07, jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m trying to use thehttp_authenticationplugin with edge rails, and > > I''m getting an error that I''m not sure how to deal with. I just added > > the code from the example to one of my controllers, and it''s throwing > > the following error: > > > protected method `render'' called for #<SuggestionsController: > > 0xb70fa390> > > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > >http_authentication/basic.rb:49:in `authentication_request'' > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > >http_authentication/basic.rb:17:in `request_http_basic_authentication'' > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > >http_authentication/basic.rb:9:in > > `authenticate_or_request_with_http_basic'' > > #{RAILS_ROOT}/app/controllers/suggestions_controller.rb:75:in > > `authenticate'' > > /usr/local/bin/mongrel_rails:16:in `load'' > > /usr/local/bin/mongrel_rails:16 > > > It''s having an issue creating/rendering the authentication box that > > would let you put in the password. > > I''m wondering if anyone else is trying to use this on edge, and could > > offer some suggestions. > > > Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jgeiger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-01 17:14 UTC
Re: http_authentication plugin on edge rails
I just created a test project with rails 1.2.3 and the plugin works exactly as I would expect it to, so I believe this is an issue with the interaction with edge rails. I understand that that it might be failed because something that has been added or removed, so again, I''m just asking to see if anyone else is currently using it in that capacity. I''d like to continue to develop this site using edge, but I''ll drop back to 1.2.3 if I must. Thanks. On Apr 1, 11:46 am, "jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I installed the plugin using "piston importhttp://svn.rubyonrails.org/rails/plugins/http_authentication/vendor/ > plugins/http_authentication" > > The error popped up when I went to http://www.site.com/suggestions/, > which invoked the index method on the suggestions controller which I > have protected. > > When I installed the plugin the same way on an earlier version of > rails (1.1.6 I believe) I didn''t get the error, but just the response > "HTTP Basic: Access denied." without an option to log in. > > On Mar 31, 7:10 pm, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, how did you install the plugin? What were you attempting to do to > > generate the error message? This information will help others help > > you. > > > -Conrad > > > On 3/31/07, jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <jgei...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I''m trying to use thehttp_authenticationplugin with edge rails, and > > > I''m getting an error that I''m not sure how to deal with. I just added > > > the code from the example to one of my controllers, and it''s throwing > > > the following error: > > > > protected method `render'' called for #<SuggestionsController: > > > 0xb70fa390> > > > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > > >http_authentication/basic.rb:49:in `authentication_request'' > > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > > >http_authentication/basic.rb:17:in `request_http_basic_authentication'' > > > #{RAILS_ROOT}/vendor/plugins/http_authentication/lib/ > > >http_authentication/basic.rb:9:in > > > `authenticate_or_request_with_http_basic'' > > > #{RAILS_ROOT}/app/controllers/suggestions_controller.rb:75:in > > > `authenticate'' > > > /usr/local/bin/mongrel_rails:16:in `load'' > > > /usr/local/bin/mongrel_rails:16 > > > > It''s having an issue creating/rendering the authentication box that > > > would let you put in the password. > > > I''m wondering if anyone else is trying to use this on edge, and could > > > offer some suggestions. > > > > Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---