SecurityError
Opened this issue · 2 comments
meviofilano commented
In my Rails application, in production mode, when a user signs up I got the following error:
SecurityError (calling insecure method: make_activation_code): app/controllers/utenti_controller.rb:76:in `create' public/dispatch.fcgi:24Configuration:
- ruby 1.8.6 (2009-06-08 patchlevel 369)
- rails 2.3.5
I've not found any information on the Web, any helpful hint?
Mevio
technoweenie commented
It sounds like your ruby SAFE level is higher than normal: http://www.cs.auckland.ac.nz/references/ruby/ProgrammingRuby/taint.html
tommeier commented
I get this on heroku too, when in conjunction with acts_as_state_machine.