Current recaptcha gem only works within controllers, so pass flag down the stack when recaptcha fails. Respect application config for “recaptcha_enable” at all levels higher than user level. Allows usage of existing mechanism for attribute validation and passing subsequent errors back to the UI for reporting. |
||
|---|---|---|
| .. | ||
| jam_ruby | ||
| jam_ruby.rb | ||