regarding ssl.............

I used ssl_requirement plugins, for secured http requests.
I have implemented the secured http but the problem is
that when I click for non_ssl action it also requests with HTTPS.

suppose I used 2 actions to be secured
I used this -->> ssl_required :x, y

I don't know where the prob is?

I used ssl_requirement plugins, for secured http requests.
I have implemented the secured http but the problem is
that when I click for non_ssl action it also requests with HTTPS.

suppose I used 2 actions to be secured
I used this -->> ssl_required :x, y

I don't know where the prob is?

By default a link will always be generated with the same protocol
(http or https) that was used to access the page, if you want
otherwise you can pass a :protocol option to link_to (and to the other
similar helpers). ssl_requirement doesn't handle anything like this
for you.

Fred

I don't know where the prob is?

In routes.rb you must specify :requirement => { :protocol => 'http(s)'}
for every route. Yes ssl in rails is painful.