The code explains you have to add the following line in the
PostController:
http_basic_authenticate_with :name => "dhh", :password =>
"secret", :except => :index
However, I beleive the readers of that blog also want to access the
PostControllers' show action. How would the otherwise be able to add
comments to the blog.
This is where I'm stumped. I can't find out how to add two exceptions
to the authentication options. Can anyone help me with this?
Hello,
I'm not sure how long these changes take to go into effect, and if
it's in the process I certainly don't mean to nag about it, however I
wanted to put in that the guide still shows the incorrect code sample.
Thanks for the information on how it's supposed to be, though!