I am developing a site that mixes http and https a lot - whats the best/easiest way to make the links use the right protocol for the route - can it be specified in the route
Haven't tried but add this in your ApplicationController:
ApplicationController
def default_url_options(options={}) { :secure => true } end