I want to have a link use SSL. I\'m using this code:
<%= link_to \"Buy now!\", line_items_path(:thing_id => @thing), :method => :post, :protocol => \
You must put the :protocol option inside the path helper:
<%= link_to "Buy now!", line_items_url(:thing_id => @thing, :protocol => "https"), :method => :post %>