Form_tag with protocol => 'https' help

Hi,

I am not having much luck using the form_tag with a protocol. I try
the following in my view: index.rhtml

<%= form_tag({:controller => ‘home’,:action => ‘login’,:protocol =>
‘https’},{:method => ‘post’}) %>

hoping it would generate

but I got the following

I also tried to sanity check by just doing

<%= url_for :controller => ‘home’,:action => ‘login’,:protocol =>
‘https’ %>, and I still just get ‘/home/login’ as the resulting string.

Anyone see where I am going astray?

Thanks,
Curtis

Try

<%= form_tag({:controller => ‘home’,:action => ‘login’,:protocol =>
‘https://’, :only_path => false},{:method => ‘post’}) %>

Kent

Thanks Kent. That did the trick!

-Curtis