Using Google spell checker via Googiespell and your rails proxy
If you are using Googiespell with rails, you may notice that Alex MacCaw’s Ruby on Rails hack from the documentation page no longer works. Google now requires a SSL connection to the spell service. You’ll be able to get it working by changing your proxy to:
def googiespell
@lang = params['lang'] || 'en'
@payload = request.raw_post
http = Net::HTTP.new('google.com', 443)
http.use_ssl = true
path = "/tbproxy/spell?lang=" + @lang
response = http.post(path, @payload)
render :xml => response.body
end
Does anyone know of a Jquery plugin that could be used in place of Googiespell?
