search for: url_for_without_ssl_support

Displaying 1 result from an estimated 1 matches for "url_for_without_ssl_support".

2007 Aug 30
1
alias_method_chain stack level too deep in Rake test only
...col => ''https'' }) if [''development''].include?(ENV[''RAILS_ENV'']) new_options.merge!({ :port => 3001, :host => request.host }) end end new_options.delete(:ssl) end url_for_without_ssl_support(new_options) end private def url_ssl?(options) case options when Hash protocol = options[:protocol] || ''http://'' return options[:ssl] || protocol =~ /^https/ when String return options =~ /^https/ el...