Displaying 1 result from an estimated 1 matches for "url_ssl".
Did you mean:
curlssl
2007 Aug 30
1
alias_method_chain stack level too deep in Rake test only
...ds
base.send :alias_method_chain, :url_for, :ssl_support
end
end
module InstanceMethods
def url_for_with_ssl_support(options)
new_options = options.dup
if options.kind_of?(Hash)
new_options.merge!({ :only_path => false }) if request.ssl?
^ url_ssl?(new_options)
if url_ssl?(new_options)
new_options.merge!({ :protocol => ''https'' })
if [''development''].include?(ENV[''RAILS_ENV''])
new_options.merge!({ :port => 3001, :host =>
request.host...