Captcha in Ruby on Rails – Customize the use of captcha in the plugin validates_captcha

To implement captcha in RubyonRails, validates_captcha plugin can be a good option but a small customization i need with this plugin was to use it on some specific action and not to be validated the captcha field every time an instance of the model is saved or updated.
Here is a small work-around for its customization…
How […] Continue reading

How to improve the image quality and generate random string image in the plugin validates_captcha

Validates captchais a good pluging to implement captcha in your rails application.
However i found that there is repetition of the string of the image and the quality of image is not that good. To get a good quality image and random string replace the code of the file /vendor/plugins/validates_captcha/lib/captcha_challenge.rb with the following code…

require ‘digest/sha1’
module AngryMidgetPluginsInc […] Continue reading