ambethia/recaptcha — pull request #66 by akalyaev (2012-03-20 17:22:04+00:00)
Title: Fixes localization for nonscript version and error expression

## Localization for nonscript version

See https://github.com/ambethia/recaptcha/issues/21 issue

## error expression

For some reasons, this code:
`error = options[:error] ||= (defined? flash ? flash[:recaptcha_error] : "")`
returns "expression" for me instead of "incorrect-captcha-sol"

I've fixed this using brackets:
`error = options[:error] ||= ((defined? flash) ? flash[:recaptcha_error] : "")`

ruby - 1.9.2
rails - 3.2.1

Sorry for not providing tests. Hope it will be usefull.