Fritz Anderson wrote:
...
> The form includes a select_tag to collect a parameter tagged as
> :building_id.
> 
> If :assign_building is listed in ssl_required, params does not include
> the :building_id key. If it's not in ssl_required, :building_id is in
> params.
> 
> I should mention that I have defined default_url_options to set
> :protocol => "https://";.
> 
> How do I ensure that my form will be submitted via SSL, and keep all its
> parameters? I'm pretty sure I'm missing a concept here, but of course
> I'm too ignorant to know what that concept might be.

I added the action that presents the form to ssl_required. Form inputs 
then once again appeared in the params hash.

My problem is no longer acute, but I don't quite understand why the 
solution works. Is it that the form isn't presented as https, so the 
form action isn't https? And the form data gets lost in the ssl_required 
redirection?

I'd really appreciate it if someone could relieve my conceptual block 
here.

    -- F

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to