Captcha issue

hi all,
i have captcha image on Registration popup but on local the captcha
image and code is not coming.
i have install RMagick and gd2 gem also.It gives following error,

MissingSourceFile (no such file to load – GD):
lib/captcha_image.rb:22
app/controllers/login_controller.rb:385:in sign_up' -e:2:inload’
-e:2

is anyone who used captcha on local machine ?

thanks in advanced.


Regards
Sachin S. Kewale

On Tue, Jan 24, 2012 at 6:06 PM, sachin kewale
[email protected]wrote:

hi all,
is any one know how to use captcha on locally ? i am using following
ror
environment,
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32],
Rails 2.3.11
ruby gem version:1.6.2


Thanks and Regards
Sachin S. Kewale

On Monday 30 January 2012 01:16 PM, sachin kewale wrote:

  MissingSourceFile (no such file to load -- GD):
Regards

ruby gem version:1.6.2
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl
I used Recaptcha plugin from google and recaptcha plugin

for me it working fine. If u want you can also try.

On Mon, Jan 30, 2012 at 6:44 PM, subbarao [email protected]
wrote:

i have install RMagick and gd2 gem also.It gives following error,

ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32],
To post to this group, send email to [email protected]
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

hi ,
thanks for reply can you please send the steps to used Recaptcha plugin
in
ROR application ?
It would be really helpful.


Regards
Sachin S. Kewale

On Tuesday 31 January 2012 10:43 AM, sachin kewale wrote:

      -e:2

 Sachin S. Kewale
For more options, visit this group at
To unsubscribe from this group, send email to

[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
register in the below link to get your api key

http://www.google.com/recaptcha

put below line in your gem file

gem ‘recaptcha’, :require => ‘recaptcha/rails’

put you api keys in config/environment.rb filr

ENV[‘RECAPTCHA_PUBLIC_KEY’] =
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
ENV[‘RECAPTCHA_PRIVATE_KEY’] =
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’

you can verify recaptcha conditions in controller methods by
verify_recaptcha varible

ex:-

if !verify_recaptcha
#do operations
end

On Tuesday 31 January 2012 10:43 AM, sachin kewale wrote:

      -e:2

 Sachin S. Kewale
For more options, visit this group at
To unsubscribe from this group, send email to

[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
you can use recaptcha_tags in any form

for reference please go through the below link

https://github.com/ambethia/recaptcha

On Tue, Jan 31, 2012 at 11:15 AM, sachin kewale
[email protected]wrote:


Rails 2.3.11
To unsubscribe from this group, send email to
To post to this group, send email to [email protected]

[email protected]

ex:-
[email protected]
Download the zip file for the reCAPTCHA WordPress CAPTCHA plugin.
Unzip the recaptcha folder into your WordPress wp-content/plugins
directory.

is this necessary ?

hi,
i am now using the reCaptcha plugin in my application but one issue is
there when i submit the form value without/with
captcha value in below condition it goes in if only
if !verify_recaptcha

else

end

can you know why it is executing if only and not else.


Thanks and Regards
Sachin S. Kewale

On Tue, Jan 31, 2012 at 11:00 AM, subbarao [email protected]
wrote:

-e:2:in `load’

Thanks and Regards

http://groups.google.com/group/rubyonrails-talk?hl=en.

register in the below link to get your api key
ENV[‘RECAPTCHA_PUBLIC_KEY’] = ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
end


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

can you tell me in which gem file i have to put this line
gem ‘recaptcha’, :require => ‘recaptcha/rails’
also, i have getting the public and private keys for live domain so
shall
those keys are used for
local environment also ? also i read on some site that

Download the zip file for the reCAPTCHA WordPress CAPTCHA plugin.
Unzip the recaptcha folder into your WordPress wp-content/plugins
directory.

is this necessary ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs