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.


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.


I installed the plugin using "piston import vendor/ plugins/http_authentication"

The error popped up when I went to Custom Application Development Software for Business -, 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.

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.