I''ve created a simple patch to add protocol-relative URL support: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5774-protocol-relative-urls While Rails is smart about generating URLs with the current scheme, sometimes you want to hand the logic off to the browser (when generating embed code URLs, for example). -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.