galetahub/simple-captcha — pull request #31 by Soylent (2013-01-25 12:31:30+00:00)
Title: Take into account relative root path when generating captcha url

This plugin does not work when rails app is deployed into a subdirectory, rather than into the root of website (http://example.org/apps/ instead of http://example.org/).

In order to fix this issue it is necessary to use ENV["RAILS_RELATIVE_URL_ROOT"] when generating image url.