Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6541047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:03:22+00:00 2026-05-25T11:03:22+00:00

my Devise Recaptcha isn’t working correctly because I can skip right over it and

  • 0

my Devise Recaptcha isn’t working correctly because I can skip right over it and still register.

I followed the Devise wiki at – https://github.com/plataformatec/devise/wiki/How-To:-Use-Recaptcha-with-Devise and got everything working accept i encountered the problem above.

Here is my code:

app/controllers/users/registrations.rb

class Users::RegistrationsController < Devise::RegistrationsController
    def create
        if verify_recaptcha
            super
        else
            build_resource
            clean_up_passwords(resource)
            flash[:alert] = "There was an error with the recaptcha code below. Please re-enter the code and click submit."
            render_with_scope :new
        end
    end
end

routes.rb

YourApp::Application.routes.draw do

  devise_for :users do
    root :to => "devise/registrations#new"
    get "/" => "devise/registrations#new"
    post '/' => 'registrations#new', :as => :new_user_registration 
    match '/', :to => 'devise/registrations#new'    
    .
    .
    .
    .
    .
  end

  devise_for :users, :controllers => { :registrations => "users/registrations" }

  namespace :user do
    root :to => "home#index"
  end

config/initializers/recaptcha.rb

Recaptcha.configure do |config|
    config.public_key  = 'mykey123456789'
    config.private_key = 'mykey13456789'
end

It is possible it doesn’t work because i am in test mode and not on my domain name?

Help would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:03:22+00:00Added an answer on May 25, 2026 at 11:03 am

    This was an issue with not having ImageMagick or RMagick installed, had to go through the nonsense to get this working.

    These were my trials & tribulations:

    ImageMagick – "CORE_RL_magick_.dll not found" or how to install RMagick on windows with ruby 1.9.2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have rails Rails 2.3.8 and Devise 1.0.8. I have followed the installation instructions
I use Devise for authentication on a model that heavily relies on caching. Because
views/devise/sessions/new.html.haml %h2 = t('devise.sessions.link') devise can't find the translation <span class=translation_missing title=translation missing: ru.devise.sessions.link>Link</span>
I'm using devise to do the new user registration. Right after a new user
I'm using Devise and a user can either be an admin or not (true,
I'm using devise and have a quick question. How can I redirect the :authenticate_user!
I'm using devise as registration engine in my rails 3.1 app. How can i
Devise a simple algorithm which creates a file which contains nothing but its own
I am attempting to devise a system for packing integer values greater than 65535
I'm trying to devise a method that will be able to classify a given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.