pludoni / simple-captcha

Rails 3+4 support now! Simple Captcha is the simplest and a robust captcha plugin. Its implementation requires adding up a single line in views and in controllers/models.
MIT License
106 stars 73 forks source link

Fix mass-assignment error when using protected_attributes #38

Closed soylent closed 8 years ago

soylent commented 9 years ago

The following code does not work as intended because we use protected_attributes gem in Rails 4:

SimpleCaptchaData.new(key: key)
zealot128 commented 8 years ago

Sorry that it took so long!

I've merged your changes and fixed all test issues & released new Gem version 0.4.0