{"action":"created","issue":{"url":"https://api.github.com/repos/ambethia/recaptcha/issues/153","labels_url":"https://api.github.com/repos/ambethia/recaptcha/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/ambethia/recaptcha/issues/153/comments","events_url":"https://api.github.com/repos/ambethia/recaptcha/issues/153/events","html_url":"https://github.com/ambethia/recaptcha/issues/153","id":123453986,"number":153,"title":"verify_recaptcha not prevent saving in ajax form","user":{"login":"vadimzham","id":10026333,"avatar_url":"https://avatars.githubusercontent.com/u/10026333?v=3","gravatar_id":"","url":"https://api.github.com/users/vadimzham","html_url":"https://github.com/vadimzham","followers_url":"https://api.github.com/users/vadimzham/followers","following_url":"https://api.github.com/users/vadimzham/following{/other_user}","gists_url":"https://api.github.com/users/vadimzham/gists{/gist_id}","starred_url":"https://api.github.com/users/vadimzham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadimzham/subscriptions","organizations_url":"https://api.github.com/users/vadimzham/orgs","repos_url":"https://api.github.com/users/vadimzham/repos","events_url":"https://api.github.com/users/vadimzham/events{/privacy}","received_events_url":"https://api.github.com/users/vadimzham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T10:21:08Z","updated_at":"2015-12-24T03:35:50Z","closed_at":null,"body":"I'm tying to add recaptcha validation in AJAX form like in a simple usage but i found this error: added verification not prevent new item from saving if captcha verification fails. Full content of create action in controller below:\r\n```ruby\r\ndef create\r\n    @question = Question.new(question_params)\r\n    respond_to do |format|\r\n      if verify_recaptcha(model: @question, message: 'Вы не прошли проверку CAPTCHA. Вы действительно человек?') && @question.save\r\n        format.js\r\n      else        \r\n        format.js\r\n      end\r\n    end\r\n  end\r\n```\r\nIs there any way to fix this weird bug?"},"comment":{"url":"https://api.github.com/repos/ambethia/recaptcha/issues/comments/167036279","html_url":"https://github.com/ambethia/recaptcha/issues/153#issuecomment-167036279","issue_url":"https://api.github.com/repos/ambethia/recaptcha/issues/153","id":167036279,"user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T03:35:50Z","updated_at":"2015-12-24T03:35:50Z","body":"verify_recaptcha returns false when it fails ... so it should not trigger the save ... can you reproduce this in the example app so I can dig in why it happens ?"}}