Git Product home page Git Product logo

validates_captcha's People

Contributors

m4n avatar mihserf avatar ricola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

validates_captcha's Issues

ActiveRecord Mass Assignment

Don't know if this is really a bug, but validates_captcha changes AR behaviour inserting the "attr_accessible :captcha_challenge, :captcha_solution" at "/lib/validates_captcha/model_validation.rb". Because of eager loading, this behaviour goes through all models.

This locks all others models properties, so, if I want to continue using AR Mass Assignment feature, I need to set all properties, in all models to attr_accessible :property1, :property2, :etc

I've made a fork to change this, dunno if you saw it.
It worked for me and save me some time too.

Rails 3

Hi..
and thanks for your version of captcha..
I cant get it working with Rails 3..with passenger 3
undefined local variable or method `validates_captcha' for ForumsController:Class
Locally is fine...any Idea?

Greetings Werner

validates_captcha

1)i executed the command which u gave.but i got the same message(error) as

convert: Non-conforming drawing primitive definition text' @ draw.c/DrawImage/3140. convert: unable to open image5,21': No such file or directory @ blob.c/OpenBlob/2480.
convert: unable to open image `ABCDEF'': No such file or directory @ blob.c/OpenBlob/2480

it has put filename "test.gif" but when i open ,it displays an image with a grey background with no text drawn on it.

2)when i tried in Linux Platform ,i got following error

convert: error while loading shared libraries: libMagickCore.so.2: cannot
open shared object file: No such file or directory

Encryption key and clustered Rails

Reported by johnson.zhang (via blog comment):

Hi, I think I caught a bug(not sure if it's a bug :) ), in the
symmetric_encryptor/simple.rb, the KEY constant was set
in this way:
KEY = ::ActiveSupport::SecureRandom.hex(64).freeze
you know , most rails projects were deployed with cluster
way for production environment , so every rails instance will
have a individual KEY. you can image the scenario , a code
will be generated by A instance, but B instance would be
required to validate it. it will return error.

validates_captcha

am using ur validates_captcha plugin.its working good for question and answers.but some issues when i use "Dynamic image challenge captchas"..am not able to get captcha images.i have installed imagemagick version of 6.5.6 Q8 .am getting following error as
convert: unable to open image 1,0': No such file or directory @ blob.c/OpenBlob/2480. convert: unable to open image83,60'': No such file or directory @ blob.c/OpenBlob/2480.
convert: Non-conforming drawing primitive definition text' @ draw.c/DrawImage/3140. convert: Non-conforming drawing primitive definitionline' @ draw.c/DrawImage/3140.
convert: unable to open image 11,0': No such file or directory @ blob.c/OpenBlob/2480. convert: unable to open image143,60'': No such file or directory @ blob.c/OpenBlob/2480

do i want to install other version imagemagick?

please help us

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.